Explorar o código

Merge pull request #352 from ente-io/set_sane_defaults_for_firebase

Set sane defaults for firebase
Neeraj Gupta %!s(int64=3) %!d(string=hai) anos
pai
achega
1b9e7dcc13
Modificáronse 3 ficheiros con 4 adicións e 3 borrados
  1. 1 0
      android/app/src/main/AndroidManifest.xml
  2. 2 2
      ios/Runner/Info.plist
  3. 1 1
      pubspec.yaml

+ 1 - 0
android/app/src/main/AndroidManifest.xml

@@ -45,6 +45,7 @@
         <meta-data android:name="flutterEmbedding" android:value="2" />
         <meta-data android:name="flutterEmbedding" android:value="2" />
         <meta-data android:name="asset_statements" android:resource="@string/asset_statements" />
         <meta-data android:name="asset_statements" android:resource="@string/asset_statements" />
         <meta-data android:name="io.sentry.dsn" android:value="https://2235e5c99219488ea93da34b9ac1cb68@sentry.ente.io/4" />
         <meta-data android:name="io.sentry.dsn" android:value="https://2235e5c99219488ea93da34b9ac1cb68@sentry.ente.io/4" />
+        <meta-data android:name="firebase_analytics_collection_deactivated" android:value="true" />
     </application>
     </application>
 
 
     <!-- Android 11: https://developer.android.com/preview/privacy/package-visibility -->
     <!-- Android 11: https://developer.android.com/preview/privacy/package-visibility -->

+ 2 - 2
ios/Runner/Info.plist

@@ -37,8 +37,8 @@
 		</array>
 		</array>
 		<key>CFBundleVersion</key>
 		<key>CFBundleVersion</key>
 		<string>$(FLUTTER_BUILD_NUMBER)</string>
 		<string>$(FLUTTER_BUILD_NUMBER)</string>
-		<key>FirebaseDataCollectionDefaultEnabled</key>
-		<false/>
+		<key>FIREBASE_ANALYTICS_COLLECTION_DEACTIVATED</key>
+		<true/>
 		<key>LSRequiresIPhoneOS</key>
 		<key>LSRequiresIPhoneOS</key>
 		<true/>
 		<true/>
 		<key>NSAppTransportSecurity</key>
 		<key>NSAppTransportSecurity</key>

+ 1 - 1
pubspec.yaml

@@ -11,7 +11,7 @@ description: ente photos application
 # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
 # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
 # Read more about iOS versioning at
 # Read more about iOS versioning at
 # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
 # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
-version: 0.6.6+336
+version: 0.6.7+337
 
 
 environment:
 environment:
   sdk: ">=2.10.0 <3.0.0"
   sdk: ">=2.10.0 <3.0.0"