Skip to content

Commit

Permalink
fix: ios push notifications on sample app (#2856)
Browse files Browse the repository at this point in the history
* fix: update google-services with new info for ios and android

* fix: update addDevice definition and bump RNFB versions

* fix: lint issues
  • Loading branch information
isekovanic authored Dec 19, 2024
1 parent 5825685 commit d607132
Show file tree
Hide file tree
Showing 12 changed files with 1,870 additions and 783 deletions.
526 changes: 515 additions & 11 deletions examples/SampleApp/android/app/google-services.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/SampleApp/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ buildscript {
classpath("com.android.tools.build:gradle")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
classpath 'com.google.gms:google-services:4.3.4'
classpath 'com.google.gms:google-services:4.4.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1'
Expand All @@ -38,4 +38,4 @@ allprojects {
}
}

apply plugin: "com.facebook.react.rootproject"
apply plugin: "com.facebook.react.rootproject"
18 changes: 10 additions & 8 deletions examples/SampleApp/ios/GoogleService-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,23 @@
<plist version="1.0">
<dict>
<key>CLIENT_ID</key>
<string>190151624402-l4s3ulr84bluts0oog3rte937sklrjls.apps.googleusercontent.com</string>
<string>674907137625-2n5l5f3j8chjrgl0hkendtgvlbdnf42j.apps.googleusercontent.com</string>
<key>REVERSED_CLIENT_ID</key>
<string>com.googleusercontent.apps.190151624402-l4s3ulr84bluts0oog3rte937sklrjls</string>
<string>com.googleusercontent.apps.674907137625-2n5l5f3j8chjrgl0hkendtgvlbdnf42j</string>
<key>ANDROID_CLIENT_ID</key>
<string>674907137625-2scfo9a5cs074dced5vhm712ej6hhtpm.apps.googleusercontent.com</string>
<key>API_KEY</key>
<string>AIzaSyBSWlZpL7-3yYMu6QR0b2WiNaSuDmO8vbY</string>
<string>AIzaSyBTAsaKFUPLAJqfsLiz0yPUVzwrgJkOwSE</string>
<key>GCM_SENDER_ID</key>
<string>190151624402</string>
<string>674907137625</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>io.getstream.reactnative.SampleApp</string>
<key>PROJECT_ID</key>
<string>sample-app-v2-ui</string>
<string>stream-chat-internal</string>
<key>STORAGE_BUCKET</key>
<string>sample-app-v2-ui.appspot.com</string>
<string>stream-chat-internal.appspot.com</string>
<key>IS_ADS_ENABLED</key>
<false></false>
<key>IS_ANALYTICS_ENABLED</key>
Expand All @@ -29,8 +31,8 @@
<key>IS_SIGNIN_ENABLED</key>
<true></true>
<key>GOOGLE_APP_ID</key>
<string>1:190151624402:ios:403df895972564bd658f0b</string>
<string>1:674907137625:ios:4daf6386e2965fa5d7f348</string>
<key>DATABASE_URL</key>
<string>https://sample-app-v2-ui.firebaseio.com</string>
<string>https://stream-chat-internal.firebaseio.com</string>
</dict>
</plist>
Loading

0 comments on commit d607132

Please sign in to comment.