From fab7671f21ed8eb8998c589b7423dbc36374da82 Mon Sep 17 00:00:00 2001 From: pedrohsampaioo Date: Tue, 2 Aug 2022 17:08:35 -0300 Subject: [PATCH] feat: add intagram config and NSPhotoLibraryUsageDescription on info.plist of example --- example/ios/Runner/Info.plist | 16 +++++++++------- example/pubspec.yaml | 4 ++-- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/example/ios/Runner/Info.plist b/example/ios/Runner/Info.plist index cf6ad8c..d66f96f 100644 --- a/example/ios/Runner/Info.plist +++ b/example/ios/Runner/Info.plist @@ -2,11 +2,8 @@ - LSApplicationQueriesSchemes - - instagram - instagram-stories - + CADisableMinimumFrameDurationOnPhone + CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName @@ -27,8 +24,15 @@ ???? CFBundleVersion $(FLUTTER_BUILD_NUMBER) + LSApplicationQueriesSchemes + + instagram + instagram-stories + LSRequiresIPhoneOS + NSPhotoLibraryUsageDescription + for storage temporary images before share to Instagram UILaunchStoryboardName LaunchScreen UIMainStoryboardFile @@ -48,7 +52,5 @@ UIViewControllerBasedStatusBarAppearance - CADisableMinimumFrameDurationOnPhone - diff --git a/example/pubspec.yaml b/example/pubspec.yaml index bed7905..db6b9a9 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -1,9 +1,10 @@ name: creme_sharing_example description: Demonstrates how to use the creme_sharing plugin. +version: 0.0.1 # The following line prevents the package from being accidentally published to # pub.dev using `flutter pub publish`. This is preferred for private packages. -publish_to: 'none' # Remove this line if you wish to publish to pub.dev +publish_to: "none" # Remove this line if you wish to publish to pub.dev environment: sdk: ">=2.17.5 <3.0.0" @@ -46,7 +47,6 @@ dev_dependencies: # The following section is specific to Flutter packages. flutter: - # The following line ensures that the Material Icons font is # included with your application, so that you can use the icons in # the material Icons class.