Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Inconsistency of versions in example app and on the npm repository #14

Open
krzysztofzaluski opened this issue Jan 12, 2025 · 3 comments

Comments

@krzysztofzaluski
Copy link

Hi,

In the example application I see the use of a method such as: TelematicsSdk.startPersistentTracking()
but in the latest version from npm repository: https://www.npmjs.com/package/react-native-telematics which is 1.0.10 there is no such method.

Will you update the npm repo version?

Best regards

@telematicsgig
Copy link
Collaborator

Hi @krzysztofzaluski
Thank you for your patience.

When integrating the Telematics SDK into React Native, you’re using a wrapper that connects the native SDKs to the native parts of React Native apps. To utilize the TelematicsSdk.startPersistentTracking() method in your app, you’ll need to ensure you’re using the latest versions of the SDKs. You can find the changelogs here:
Android SDK Changelog
iOS SDK Changelog

Once you’ve installed the SDK in your app, you’ll need to create a bridge between the native SDK and React Native. You can refer to the existing methods as examples for building this connection.

We’re currently working on releasing a new version of the SDK for both iOS and Android. The React Native wrapper, along with a demo app, is expected to be updated by February.

@krzysztofzaluski
Copy link
Author

@telematicsgig thank you for your reply.

I have additional question: when I try to pod install iOS dependencies then I got such an error:

...
Installing RaxelPulse (6.0.6)

[!] Error installing RaxelPulse
[!] /usr/bin/curl -f -L -o /var/folders/lg/d5l4v_k12cn__2_1s7dgpscr0000gn/T/d20250201-65908-rr7uea/file.zip https://s3.us-east-2.amazonaws.com/ios.telematics.sdk.production/Releases/RaxelPulse-6.0.6.zip --create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.16.2 cocoapods-downloader/2.1'

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:01:08 --:--:--     0
curl: (35) Recv failure: Connection reset by peer


[!] [Codegen] warn: using experimental new codegen integration

@telematicsgig
Copy link
Collaborator

@krzysztofzaluski
Can you check if you have a connection to AWS?

Request:
curl -I https://s3.us-east-2.amazonaws.com/ios.telematics.sdk.production/Releases/RaxelPulse-6.0.6.zip

Expected response:

HTTP/1.1 200 OK
x-amz-id-2: MvERihFKD7C4KMJhiLCDZ5mZ0FPlrPGgg5AEZ25EmMIj24hWpoqHY+QJAhrnvD4uZ9oLdQ6s4WM=
x-amz-request-id: 9SRGR2H75H672F6Z
Date: Sat, 01 Feb 2025 14:55:24 GMT
Last-Modified: Mon, 09 Dec 2024 08:41:36 GMT
ETag: "eb93b3839ec86a5279d65b982c273dbf"
x-amz-server-side-encryption: AES256
Accept-Ranges: bytes
Content-Type: application/zip
Content-Length: 10106308
Server: AmazonS3

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants