-
Notifications
You must be signed in to change notification settings - Fork 94
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
Telemetry Issue #78
Comments
Got the same error on my project and this solved the issue. Thanks! |
Anyone up for a PR to fix it in the plugin? 2 locations to update.. |
Still having the same issue. Installed NativeScript 2.5.0 and mapbox plugin 2.5.1 |
What's the error output? I found out the possible solution described above because the "new telemetry link" was included in the error message. |
This is the error output Error: com.mapbox.services.android.telemetry.TelemetryException: Please, make sure you add the Telemetry service ( StackTrace: at com.tns.Runtime.callJSMethodNative(Native Method) |
I used the AndroidManifest.xml entry at the start of this thread and had to remove and add back the android platform to get the map to display. I have markers on my map and when the map loads I get the following console output: JS: Unhandled Promise rejection: iconFactory.fromDrawable is not a function ; Zone: ; Task: Promise.then ; Value: TypeError: iconFactory.fromDrawable is not a function TypeError: iconFactory.fromDrawable is not a function Any thoughts on how to fix this? |
Took me some time to find out, but you have to add the line:
|
@Equisetum see my previous comment. Let's help each other out by creating a pull request to change those paths 🤝 |
I'd love to, but I am inexperienced. Would not even know how to start. |
Nice!
|
Closed via #82 |
Been having a telemetry error show up, starting this afternoon, even without changing anything in the manifest, running nativescript-mapbox 2.5.1
I had the following Telemetry:
<service android:name="com.mapbox.mapboxsdk.telemetry.TelemetryService" />
The error only stopped after I changed it to:
<service android:name="com.mapbox.services.android.telemetry.service.TelemetryService" />
Hope it helps in case anyone gets the same error.
The text was updated successfully, but these errors were encountered: