Open tiesco238 opened 4 years ago
Which command do you use to run the app?
tns run ios
OK. Do you have a repo I can look at?
Sure, created a repo here: https://github.com/tiesco238/nativescript-push-notifications/tree/test
Same issue here ! Thank you
@Sauvetonbio please share a repo and steps to reproduce.
@tiesco238 I just cloned your repo, ran npm i
, then tns run ios
and deployed the app without trouble to the simulator. Does it matter if it's a simulator or device?
Well not sure, but i tested on a device. Coul you check please?
Could you check on a simulator first please?
Please pull the git for latest version. inappmessaging.onMessageClicked causing the error. The app does not load.
getting the same error on a simulator (tns run --emulator)
@EddyVerbruggen do you get the error after pulling the repo?
In my case, I need to delete the "platforms" folder before each build to be good. Else the app crash on iPhone device when starting with similars errors like "ReferenceError: Can't find variable: FIRInAppMessaging"
Hi,
I am trying to create an iOS app using Nativescript (vue flavour) to get the push notifications to work (nativescript-plugin-firebase) but i am keep getting errors when running tns..
CONSOLE ERROR file:///node_modules/nativescript-vue/dist/index.js:2129:21 [Vue warn]: Error in created hook: "ReferenceError: Can't find variable: FIRInAppMessaging"
This is the snippet of the console log:
This is the code i used in vue (copied from git's demo vue project):
And further down:
I did refresh my npm modules, install native-script-plugin-firebase and everything is working in xcode/profiles/push notifications..
Does somebody know what is wrong here. Is it a bug?
Thank you very much in advance,
Thijs