Closed khhily closed 5 years ago
You better Google that error. I have no clue.
I find a solution here. I need to downgrading ios-sdk to 5.15.0. How to change the ios-sdk version in my project? or what version of this plugin use sdk is 5.15.0?
@khhily Looking at that issue, it was fixed in 5.17.0. The plugin is at 5.20.1, so it should not be a problem using the latest plugin release.
But someone use 5.18, 5.19 or 5.20.1 still not work. And downgrade to 5.15, it's works. https://github.com/firebase/firebase-ios-sdk/issues/2372#issuecomment-473987298
If that’s then keep an eye on the upstream issue. Not much I can do about it.
I downgrade to version 7.7.0 of this plugin with ios-sdk 5.15.0, now it works.
I create a project with
nativescript-angular
. And I found a strange issue in my project. Thefirebase
subscribe topics success when I runtns platform remove ios
,tns platform add ios
andtns run ios
. but when I change some code, or I kill the process in iOS, it will restart the app, then the subscribe is error. I don't know why is this problem occurring.package.json:
I add
require("nativescript-plugin-firebase");
in mymain.ts
.I init and subscribe topics use these code:
and the error is :