[READ ONLY MIRROR] Open Source TikTok alternative built on AT Protocol github.com/sprksocial/client
flutter atproto video dart
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

rm unneeded android permission

+51 -26
+51 -26
android/app/src/main/AndroidManifest.xml
··· 1 - <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"> 1 + <manifest 2 + xmlns:android="http://schemas.android.com/apk/res/android" 3 + xmlns:tools="http://schemas.android.com/tools" 4 + > 2 5 <!-- Add Internet permission for video streaming --> 3 - <uses-permission android:name="android.permission.INTERNET"/> 4 - <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32"/> 5 - <uses-permission android:name="android.permission.READ_MEDIA_IMAGES"/> 6 - <uses-permission android:name="android.permission.READ_MEDIA_VIDEO"/> 7 - <uses-permission android:name="android.permission.READ_MEDIA_VISUAL_USER_SELECTED"/> 8 - <uses-permission android:name="com.google.android.gms.permission.AD_ID" tools:node="remove"/> 9 - <uses-permission android:name="android.permission.ACCESS_ADSERVICES_ATTRIBUTION" tools:node="remove"/> 10 - <uses-permission android:name="android.permission.ACCESS_ADSERVICES_AD_ID" tools:node="remove"/> 6 + <uses-permission android:name="android.permission.INTERNET" /> 7 + <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" /> 8 + <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" /> 9 + <uses-permission 10 + android:name="android.permission.READ_MEDIA_VISUAL_USER_SELECTED" 11 + /> 12 + <uses-permission 13 + android:name="com.google.android.gms.permission.AD_ID" 14 + tools:node="remove" 15 + /> 16 + <uses-permission 17 + android:name="android.permission.ACCESS_ADSERVICES_ATTRIBUTION" 18 + tools:node="remove" 19 + /> 20 + <uses-permission 21 + android:name="android.permission.ACCESS_ADSERVICES_AD_ID" 22 + tools:node="remove" 23 + /> 11 24 <application 12 25 android:label="Spark" 13 26 android:name="${applicationName}" 14 27 android:icon="@mipmap/ic_launcher" 15 - android:roundIcon="@mipmap/ic_launcher_round"> 28 + android:roundIcon="@mipmap/ic_launcher_round" 29 + > 16 30 <activity 17 31 android:name=".MainActivity" 18 32 android:exported="true" ··· 20 34 android:theme="@style/LaunchTheme" 21 35 android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" 22 36 android:hardwareAccelerated="true" 23 - android:windowSoftInputMode="adjustResize"> 37 + android:windowSoftInputMode="adjustResize" 38 + > 24 39 <!-- Specifies an Android theme to apply to this Activity as soon as 25 40 the Android process has started. This theme is visible to the user 26 41 while the Flutter UI initializes. After that, this theme continues 27 42 to determine the Window background behind the Flutter UI. --> 28 43 <meta-data 29 - android:name="io.flutter.embedding.android.NormalTheme" 30 - android:resource="@style/NormalTheme" 31 - /> 44 + android:name="io.flutter.embedding.android.NormalTheme" 45 + android:resource="@style/NormalTheme" 46 + /> 32 47 <intent-filter> 33 - <action android:name="android.intent.action.MAIN"/> 34 - <category android:name="android.intent.category.LAUNCHER"/> 48 + <action android:name="android.intent.action.MAIN" /> 49 + <category android:name="android.intent.category.LAUNCHER" /> 35 50 </intent-filter> 36 51 </activity> 37 52 <!-- OAuth callback activity for flutter_web_auth_2 --> 38 53 <activity 39 54 android:name="com.linusu.flutter_web_auth_2.CallbackActivity" 40 - android:exported="true"> 55 + android:exported="true" 56 + > 41 57 <intent-filter android:label="flutter_web_auth_2"> 42 - <action android:name="android.intent.action.VIEW"/> 43 - <category android:name="android.intent.category.DEFAULT"/> 44 - <category android:name="android.intent.category.BROWSABLE"/> 45 - <data android:scheme="sprk"/> 58 + <action android:name="android.intent.action.VIEW" /> 59 + <category android:name="android.intent.category.DEFAULT" /> 60 + <category android:name="android.intent.category.BROWSABLE" /> 61 + <data android:scheme="sprk" /> 46 62 </intent-filter> 47 63 </activity> 48 64 <!-- Don't delete the meta-data below. 49 65 This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> 50 66 <meta-data android:name="flutterEmbedding" android:value="2" /> 51 - <meta-data android:name="com.posthog.posthog.API_KEY" android:value="${POSTHOG_API_KEY}" /> 52 - <meta-data android:name="com.posthog.posthog.POSTHOG_HOST" android:value="https://us.i.posthog.com" /> 53 - <meta-data android:name="com.posthog.posthog.TRACK_APPLICATION_LIFECYCLE_EVENTS" android:value="true" /> 67 + <meta-data 68 + android:name="com.posthog.posthog.API_KEY" 69 + android:value="${POSTHOG_API_KEY}" 70 + /> 71 + <meta-data 72 + android:name="com.posthog.posthog.POSTHOG_HOST" 73 + android:value="https://us.i.posthog.com" 74 + /> 75 + <meta-data 76 + android:name="com.posthog.posthog.TRACK_APPLICATION_LIFECYCLE_EVENTS" 77 + android:value="true" 78 + /> 54 79 <meta-data android:name="com.posthog.posthog.DEBUG" android:value="true" /> 55 80 </application> 56 81 <!-- Required to query activities that can process text, see: ··· 60 85 In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. --> 61 86 <queries> 62 87 <intent> 63 - <action android:name="android.intent.action.PROCESS_TEXT"/> 64 - <data android:mimeType="text/plain"/> 88 + <action android:name="android.intent.action.PROCESS_TEXT" /> 89 + <data android:mimeType="text/plain" /> 65 90 </intent> 66 91 </queries> 67 92 </manifest>