Photo Plugin.

Ready to use plugin for your Xamarin Forms apps

As Xamarin Forms Developers sometimes we need a photo functionality in our apps. There are great plugins out there and especially Xam.Media.Plugin which handles default photo takings. But what if we need an option to take multiple photos and preview or delete one from series?

 

This is where CrossApps.Photo.Plugin comes to help. For our projects, we struggled multiple times with default plugins. After feedback from our users, we decided to develop our own photo experience, cross-platform.

 

CrossApps.Photo.Plugin is great for your next app if you need a WhatsApp like camera preview, where users can handle several photos in one process. It can be embedded into any existing Xamarin forms page, in XAML.

 

Please note that our plugin handles basic permission, it is recommended to ask for permission before open the page with CrossApps.Photo.Plugin, for this you can refer to Permission Handling like MediaPlugin.

Getting started with a few lines in XAML and C#

 

Using our plugin is very straightforward, just add CrossApps.Photo.Plugin to your shared project and insert following XAML in one of your views.


<?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" 
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" 
             xmlns:crossapps="clr-namespace:CrossAppsPhotoPlugin;assembly=CrossAppsPhotoPlugin"
             xmlns:local="clr-namespace:PluginTesting" x:Class="PluginTesting.MainPage">
   
    <crossapps:PhotoTakerView x:Name="photoPlugin" />
    
</ContentPage>

 

In order to get files you need to register an event handler for FilesSaved.

 


photoPlugin.FilesSaved += PhotoPlugin_FilesSaved;

void PhotoPlugin_FilesSaved(object sender, EventArgs e)
{
    var files = photoPlugin.FileNames;
    // custom logic
}

 

Maybe a discount chance for your project

We offer our plugin for 49 € per platform. Please note that all future updates are included within one license. You need for each platform a different license. We tested on several Android and iOS devices.

Xamarin Photo Plugin

Xamarin Photo Plugin

Each license is bound to an apple app id or android package name. Double check during the checkout process.

iOS

buy now

Android

buy now