radarlabs / react-native-radar

React Native module for Radar, the leading geofencing and location tracking platform
https://radar.com
Apache License 2.0
171 stars 32 forks source link

implemented endpoints for getting versioning for RN and native #262

Closed KennyHuRadar closed 11 months ago

KennyHuRadar commented 11 months ago

This PR exposes endpoints so that RN SDK can easily access the versioning of the RN SDK and also the underlying native SDK from code.

There are 2 new endpoints:

A notable change is that the explicit definition of the versioning of the Android native SDK had been moved from build.gradle to gradle.property

QA: we call both of these endpoints in waypoint to determine the versioning of the dependencies

Android:

image

IOS:

image