Skip to content

Commit

Permalink
small updates
Browse files Browse the repository at this point in the history
  • Loading branch information
NeXTormer committed Aug 9, 2023
1 parent 40179e4 commit 0150c98
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
14 changes: 14 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
android:resource="@xml/filepaths" />
</provider>

<provider android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false" android:grantUriPermissions="true">
<meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/filepaths" />
</provider>

<activity
android:name="io.flutter.embedding.android.FlutterActivity"
android:exported="true"
Expand Down Expand Up @@ -68,6 +74,14 @@
android:value="2" />
</application>

<queries>
<package android:name="com.instagram.android" />
</queries>

<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.android.vending.BILLING" />
</manifest>
3 changes: 3 additions & 0 deletions android/app/src/main/res/xml/filepaths.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
<cache-path
name="image"
path="/" />
<external-path
name="external_files"
path="." />
</paths>
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none'
version: 1.0.5+23070201

environment:
sdk: '>=2.12.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'

dependencies:
flutter:
Expand Down

0 comments on commit 0150c98

Please sign in to comment.