Permissions
Permissions
This walkthrough explains how to add necessary permissions to use Storyly Moments and their effects when permissions are not allowed. Storyly Moments requires two different permission in order to run properly. These permissions are:
Photo Library Usage Permission
For your users to create a Story, they should allow your application to use a photo library. If you want to use Storyly Moments, you must add the following key-value pair in the application Info.plist file even though your application does not need photo library permission:
<dict>
<key>Privacy - Photo Library Usage Description</key>
<string>Description to show for photo library permission</string>
</dict>
Tip
If you already have this key value pair for your application you do not need to add an extra one.
For more information about photo library permission, please check here.
If your user has not allowed or forbidden photo library usage yet, upon opening the photo gallery Storyly Moments presents an alert for permission. If users allow, they will be able to see the media in the library, if they forbid they will see an information screen instead of media. Using this information screen, they will be able to go to settings and give permission.
Warning
If you do not add the entry in Info.plist, your application will crash when permission is needed.
Camera Usage Permission
For your users to create a Story by capturing media using the camera, they should allow your application to use the camera. If you want to use Storyly Moments, you must add the following key-value pair in the application Info.plist file even though your application does not need camera usage permission:
<dict>
<key>Privacy - Camera Usage Description</key>
<string>Description to show for camera usage permission</string>
</dict>
Tip
If you already have this key value pair for your application you do not need to add an extra one.
For more information about camera usage permission, please check here.
If your user has not allowed or forbidden camera usage yet, upon opening the camera, Storyly Moments presents an alert for permission. If users allow it, they will be able to open the camera, if they forbid they will see an information screen in the capture area. Using this information screen, they will be able to go to settings and give permission.
Warning
If you do not add the entry in Info.plist, your application will crash when permission is needed.
Microphone Usage Permission
For your users to create a Story by capturing video using the camera & microphone, they should allow your application to use the microphone. If you want to use Storyly Moments, you must add the following entry to your application manifest file even though your application does not need microphone usage permission:
<key>NSMicrophoneUsageDescription</key>
<string>Description to show for microphone usage permission</string>
For more information about camera microphone permission, please check here.
If your user has not allowed or forbidden microphone usage yet, upon opening the camera to record a video, Storyly Moments presents an alert for permission. If users allow it, they will be able to open the microphone, if they forbid they will see an information screen in the capture area. Using this information screen, they will be able to go to settings and give permission.
Tip
If you already have this key value pair for your application you do not need to add an extra one.
Updated 5 months ago