Closed bufke closed 6 years ago
@kvnvelasco I spent a few minutes reading up on podfiles, and i am no expert but since there is no specified version to use for Sentry on iOS, at the build time of the implementing app for this plugin the newest available version should be used. (this is probably not best practice, but as i said i am no expert)
Since your pull request should update the android plugin and the iOS plugin should be upto date out of the box, everything should be good.
I just spent the last two hours trying to test this, but I could not get the demo-ng application provided to work kept throwing the below error no matter what i tried, ideas?
Error: com.tns.NativeScriptException: Failed to find module: "nativescript-sentry", relative to: app/tns_modules/
@benjlin Interestingly, I got the demo-ng working just fine. How did you run it? The src
directory has a script for running the demo npm run demo.ng.android
re: Podfiles I think it's just a matter of updating :tag => '3.9.1'
to :tag => '4.1.0
. I don't have an iOS device or simulator to make sure that works though.
@kvnvelasco I ran the project by navigating into demo-ng and running tns run android
when I get home I will update the tag and give it a go and report back
@benjlin Have you solved this issue? It happen to me too
Hi, I have the same error using nativescript-vue. When will it be fixed?
this is fixed in 1.6.1
Sentry has deprecated the secret part of the DSN. However this project errors without it
TypeError: Cannot read property 'split' of undefined
A work around is to add an
:
after key in the DSN. The new format was previously called the "public DSN" before the secret was removed.Semi related to https://github.com/danielgek/nativescript-sentry/issues/5
It would probably be best to make the secret optional and update the readme example to not use secret. Happy to assist if necessary.