Skip to content

Commit d607132

Browse files
authored
fix: ios push notifications on sample app (#2856)
* fix: update google-services with new info for ios and android * fix: update addDevice definition and bump RNFB versions * fix: lint issues
1 parent 5825685 commit d607132

File tree

12 files changed

+1870
-783
lines changed

12 files changed

+1870
-783
lines changed

examples/SampleApp/android/app/google-services.json

Lines changed: 515 additions & 11 deletions
Large diffs are not rendered by default.

examples/SampleApp/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ buildscript {
1919
classpath("com.android.tools.build:gradle")
2020
classpath("com.facebook.react:react-native-gradle-plugin")
2121
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
22-
classpath 'com.google.gms:google-services:4.3.4'
22+
classpath 'com.google.gms:google-services:4.4.2'
2323
// NOTE: Do not place your application dependencies here; they belong
2424
// in the individual module build.gradle files
2525
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1'
@@ -38,4 +38,4 @@ allprojects {
3838
}
3939
}
4040

41-
apply plugin: "com.facebook.react.rootproject"
41+
apply plugin: "com.facebook.react.rootproject"

examples/SampleApp/ios/GoogleService-Info.plist

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,23 @@
33
<plist version="1.0">
44
<dict>
55
<key>CLIENT_ID</key>
6-
<string>190151624402-l4s3ulr84bluts0oog3rte937sklrjls.apps.googleusercontent.com</string>
6+
<string>674907137625-2n5l5f3j8chjrgl0hkendtgvlbdnf42j.apps.googleusercontent.com</string>
77
<key>REVERSED_CLIENT_ID</key>
8-
<string>com.googleusercontent.apps.190151624402-l4s3ulr84bluts0oog3rte937sklrjls</string>
8+
<string>com.googleusercontent.apps.674907137625-2n5l5f3j8chjrgl0hkendtgvlbdnf42j</string>
9+
<key>ANDROID_CLIENT_ID</key>
10+
<string>674907137625-2scfo9a5cs074dced5vhm712ej6hhtpm.apps.googleusercontent.com</string>
911
<key>API_KEY</key>
10-
<string>AIzaSyBSWlZpL7-3yYMu6QR0b2WiNaSuDmO8vbY</string>
12+
<string>AIzaSyBTAsaKFUPLAJqfsLiz0yPUVzwrgJkOwSE</string>
1113
<key>GCM_SENDER_ID</key>
12-
<string>190151624402</string>
14+
<string>674907137625</string>
1315
<key>PLIST_VERSION</key>
1416
<string>1</string>
1517
<key>BUNDLE_ID</key>
1618
<string>io.getstream.reactnative.SampleApp</string>
1719
<key>PROJECT_ID</key>
18-
<string>sample-app-v2-ui</string>
20+
<string>stream-chat-internal</string>
1921
<key>STORAGE_BUCKET</key>
20-
<string>sample-app-v2-ui.appspot.com</string>
22+
<string>stream-chat-internal.appspot.com</string>
2123
<key>IS_ADS_ENABLED</key>
2224
<false></false>
2325
<key>IS_ANALYTICS_ENABLED</key>
@@ -29,8 +31,8 @@
2931
<key>IS_SIGNIN_ENABLED</key>
3032
<true></true>
3133
<key>GOOGLE_APP_ID</key>
32-
<string>1:190151624402:ios:403df895972564bd658f0b</string>
34+
<string>1:674907137625:ios:4daf6386e2965fa5d7f348</string>
3335
<key>DATABASE_URL</key>
34-
<string>https://sample-app-v2-ui.firebaseio.com</string>
36+
<string>https://stream-chat-internal.firebaseio.com</string>
3537
</dict>
3638
</plist>

0 commit comments

Comments
 (0)