mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-19 05:45:15 +01:00
FIX: Disable autoinit of notifications prior to user autorizaiton
This commit is contained in:
parent
e2e77a6744
commit
21f3c12b39
@ -83,6 +83,8 @@ android {
|
||||
versionName "7.0.3"
|
||||
testBuildType System.getProperty('testBuildType', 'debug')
|
||||
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
|
||||
firebaseMessagingAutoInitEnabled false
|
||||
firebaseAnalyticsCollectionEnabled false
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
|
@ -52,6 +52,12 @@
|
||||
<meta-data
|
||||
android:name="com.dieam.reactnativepushnotification.notification_color"
|
||||
android:resource="@color/white" />
|
||||
<meta-data
|
||||
android:name="firebase_messaging_auto_init_enabled"
|
||||
android:value="false" />
|
||||
<meta-data
|
||||
android:name="firebase_analytics_collection_enabled"
|
||||
android:value="false" />
|
||||
|
||||
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationActions" />
|
||||
<receiver android:name="com.dieam.reactnativepushnotification.modules.RNPushNotificationPublisher" />
|
||||
|
@ -68,6 +68,8 @@ subprojects {
|
||||
defaultConfig {
|
||||
minSdkVersion 24
|
||||
}
|
||||
firebaseMessagingAutoInitEnabled false
|
||||
firebaseAnalyticsCollectionEnabled false
|
||||
}
|
||||
}
|
||||
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {
|
||||
|
@ -109,7 +109,7 @@ function Notifications(props) {
|
||||
* - if you are not using remote notification or do not have Firebase installed, use this:
|
||||
* requestPermissions: Platform.OS === 'ios'
|
||||
*/
|
||||
requestPermissions: true,
|
||||
requestPermissions: Platform.OS === 'ios',
|
||||
});
|
||||
}
|
||||
});
|
||||
|
@ -384,5 +384,9 @@
|
||||
<key>apiKey</key>
|
||||
<string>17ba9059f676f1cc4f45d98182388b01</string>
|
||||
</dict>
|
||||
<key>FIREBASE_ANALYTICS_COLLECTION_ENABLED</key>
|
||||
<false/>
|
||||
<key>FIREBASE_MESSAGING_AUTO_INIT_ENABLED</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</plist>
|
||||
|
Loading…
Reference in New Issue
Block a user