Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes on iOS v11 with firebase SDK v6.11 #232

Closed
Edmu opened this issue Nov 21, 2019 · 3 comments
Closed

Crashes on iOS v11 with firebase SDK v6.11 #232

Edmu opened this issue Nov 21, 2019 · 3 comments
Labels
Firebase SDK Relates to the Firebase SDK library which this plugin wraps ios relates to iOS platform runtime issue An issue related to app runtime

Comments

@Edmu
Copy link

Edmu commented Nov 21, 2019

Bug report

Current behavior:

Crashes on start or shorty after start then calling plugin methods

Expected behavior:
Not to crash

Steps to reproduce:
Install plugin version v7.0.1
Call various plugin method like: logEvent, fetch, fetchActivated, getValue ...

Screenshots

Environment information

  • Cordova CLI version
    • 9.0.0 (cordova-lib@9.0.1)
  • Cordova platform version
    • android 8.0.0 & ios 5.0.1
  • Plugins & versions installed in project (including this plugin)
    • cordova-plugin-firebasex 7.0.1 "Google Firebase Plugin"
  • Dev machine OS and version, e.g.
    • OSX
      • 10.14.6

Runtime issue

  • Device details
    • iPhone 6
  • OS details
    • 11.3

Other information:

I think the issue comes from Firebase SDK v6.11 - downgrading helped (to version which does not use Firebase SDK v6.11). Also xCode debugger catches BAD_MEMORY_ACCESS inside firebase SDK files.

firebase/firebase-ios-sdk#4265
https://firebase.google.com/support/release-notes/ios#6.13.0

It seems v6.11 were having issues on lower iOS versions (v12 and lower) and v6.13 were pushed quite quickly.

@albertopq
Copy link

I'm having the same issues. Even manually upgrading the pod to 6.13.0 doesn't fix it, so not sure what's the solution here. In the meantime, manually downgraded the pod to 6.9.0

@dpa99c
Copy link
Owner

dpa99c commented Nov 26, 2019

Cordova currently doesn't support the use of plugin variables in plugin podspecs (as it does for Gradle dependencies for Android) otherwise you could override the versions pinned by the plugin using plugin variables at plugin install time. However, I may be able to implement this using hook scripts.
In the meantime, I will update the pinned versions to the latest v6.13.0 shortly.

@dpa99c dpa99c added Firebase SDK Relates to the Firebase SDK library which this plugin wraps ios relates to iOS platform runtime issue An issue related to app runtime TODO Something needs doing labels Nov 26, 2019
@IonicDeveloper12
Copy link

I am having the same issue, any solution please?

@dpa99c dpa99c closed this as completed in 74064ec Dec 3, 2019
@dpa99c dpa99c added ready for release Something has been implemented and is awaiting release to npm and removed TODO Something needs doing labels Dec 3, 2019
@dpa99c dpa99c removed the ready for release Something has been implemented and is awaiting release to npm label Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Firebase SDK Relates to the Firebase SDK library which this plugin wraps ios relates to iOS platform runtime issue An issue related to app runtime
Projects
None yet
Development

No branches or pull requests

4 participants