react-native-background-geolocation icon indicating copy to clipboard operation
react-native-background-geolocation copied to clipboard

Please provide me the code in React Native for both iOS and Android. #590

Open ramkrushan-kaito opened this issue 1 year ago • 28 comments

Your Environment

  • Plugin version: ^4.17.1
  • Platform: iOS or Android => iOS and Android
  • OS version: iOS 14 / Android 14
  • Device manufacturer / model: iOS (iPhone 12)
  • React Native version (react-native -v): React Native 0.71.x
  • Plugin config
PASTE_YOUR_CODE_HERE

Expected Behavior

Please provide me the code in React Native for both iOS and Android.

My API endpoint is: https://bfsi.staypinc.com/api/admin/add/dummy/data

The API request should look like this: { "latitude": "30.34567", "longitude": "10.90781", "device": "ios", "address": "TALKAT TEST TEST" } I need to send latitude and longitude to my API when the app is in the killed state, background, or foreground. I only need the code for this functionality.

Actual Behavior

Steps to Reproduce

Context

Debug logs

Logs
PASTE_YOUR_LOGS_HERE

ramkrushan-kaito avatar Sep 30 '24 12:09 ramkrushan-kaito