radarlabs / flutter-radar

Flutter package for Radar, the leading geofencing and location tracking platform
https://radar.io
Apache License 2.0
22 stars 13 forks source link

add getVerifiedLocationToken function #68

Closed ShiCheng-Lu closed 1 month ago

ShiCheng-Lu commented 2 months ago

add Radar.getVerifiedLocationToken() function.

tested with example app, with google play integrity API and AppAttest API on iOS.

turn on Fraud > Enable Android Play Integrity API + Enable iOS App Attest, then run getVerifiedLocationToken() from the app.

I routed the apis to a local server to check the requests (by using SharedPreference / standardUserDefaults to set the api hosts). Verified the tokens are generated + passed to server.

lmeier commented 1 month ago
* /home/runner/work/flutter-radar/flutter-radar/CHANGELOG.md doesn't mention current version (3.12.0).

You should add an entry to the changelog (mentioning no changes necessary)