Open tidusjar opened 3 years ago
For me the following worked:
import { firebase } from '@nativescript/firebase';
along with changing any messaging.xxx call to firebase.xxx.
Thanks that does work
When I try to use the line:
import { firebase } from '@nativescript/firebase' ;
I get 'cannot find module' (in the editor it highlights the @nativescript/firebase part). Is there something I need to install to get that to work? My app was working until I upgraded to NS7 but now is erroring on the nativescript-firebase plug-in
import { messaging } from '@nativescript/firebase/messaging';
Seems to be working without warnings. But I think messaging
is supposed to working when imported directly from @nativescript/firebase
.
Getting the following when compiling on android ({N} Angular)
Version 11.0.0
Import: