Skip to content

Commit

Permalink
Merge pull request #2664 from BlueBubblesApp/tanay/1.13.0
Browse files Browse the repository at this point in the history
Tanay/1.13.0
  • Loading branch information
zlshames authored Feb 1, 2024
2 parents e5b76a0 + 7da1049 commit 1cf45ba
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@

<!-- Permission added by external package - remove it here -->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" tools:node="remove" />
<uses-permission android:name="com.google.android.gms.permission.AD_ID" tools:node="remove" />

<application
tools:replace="android:label"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ class FirebaseAuthHandler: MethodCallHandlerImpl() {
context: Context
) {
// Don't auth multiple times
if (firebaseApp != null) result.success(null)
try {
FirebaseApp.getInstance()
Log.d(Constants.logTag, "Firebase has already been initialized!")
result.success(null)
return
} catch (_: IllegalStateException) {}
// Make sure Google Services are available
if (GoogleApiAvailability.getInstance().isGooglePlayServicesAvailable(context) != ConnectionResult.SUCCESS) {
val error = "Google Play Services is not available!"
Log.e(Constants.logTag, error)
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ description: Send iMessages on Android using BlueBubbles!
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html

version: 1.13.0+62
version: 1.13.0+63
publish_to: none

environment:
Expand Down

0 comments on commit 1cf45ba

Please sign in to comment.