CrossApps.Photo.Plugin 1.0.1

This plugin allows you to take multiple photos within one view. You can change camera and max allowed photos.

Install-Package CrossApps.Photo.Plugin -Version 1.0.1
dotnet add package CrossApps.Photo.Plugin --version 1.0.1
<PackageReference Include="CrossApps.Photo.Plugin" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CrossApps.Photo.Plugin --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

To get started add this package to your projects Android / IOS / .NET Standard.

Camera view can be displayed within a modal xamarin forms page or as a content.
Please not while placing it inside a layout if there is not enough space UI could be inappropiate.

Sample XAML Page

<?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:local="clr-namespace:PhotoTaker" 
             xmlns:crossapps="clr-namespace:CrossAppsPhotoPlugin;assembly=CrossAppsPhotoPlugin"
             xmlns:effects="clr-namespace:CrossAppsPhotoPlugin.Effects;assembly=CrossAppsPhotoPlugin"
             Title="MainPage"
             x:Class="PhotoTaker.MainPage">
    <ContentPage.Effects>
        <effects:OrientationEffect />
    </ContentPage.Effects>
    
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        
        <crossapps:PhotoTakerView x:Name="photoTakerView" Grid.Row="0" CloseButtonVisible="true"
                                  HorizontalOptions="FillAndExpand" MaxImageCount="6" 
                                  VerticalOptions="FillAndExpand"/>
    </Grid>
</ContentPage>

IOS Project App Delegate

CrossAppsPhotoPlugin.iOS.Renderer.PhotoTakerRenderer.Init("");

Android Project MainActivity

CrossAppsPhotoPlugin.Android.Renderer.PhotoTakerRenderer.Init("");

To get started add this package to your projects Android / IOS / .NET Standard.

Camera view can be displayed within a modal xamarin forms page or as a content.
Please not while placing it inside a layout if there is not enough space UI could be inappropiate.

Sample XAML Page

<?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:local="clr-namespace:PhotoTaker" 
             xmlns:crossapps="clr-namespace:CrossAppsPhotoPlugin;assembly=CrossAppsPhotoPlugin"
             xmlns:effects="clr-namespace:CrossAppsPhotoPlugin.Effects;assembly=CrossAppsPhotoPlugin"
             Title="MainPage"
             x:Class="PhotoTaker.MainPage">
    <ContentPage.Effects>
        <effects:OrientationEffect />
    </ContentPage.Effects>
    
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        
        <crossapps:PhotoTakerView x:Name="photoTakerView" Grid.Row="0" CloseButtonVisible="true"
                                  HorizontalOptions="FillAndExpand" MaxImageCount="6" 
                                  VerticalOptions="FillAndExpand"/>
    </Grid>
</ContentPage>

IOS Project App Delegate

CrossAppsPhotoPlugin.iOS.Renderer.PhotoTakerRenderer.Init("");

Android Project MainActivity

CrossAppsPhotoPlugin.Android.Renderer.PhotoTakerRenderer.Init("");

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.1 75 6/13/2019
1.0.0 162 1/22/2019