I am working on Senior Design project which is a bluetooth based application. The problem I am trying to figure out for couple of days is, how to deploy the mobile app for testing the functionality. The app operates with iBeacon. I am using classic React Native CLI.
I would appricate any advise on explanation or options to deploy the mobile application for testing. I was wondering if deploying it through XCode is a way, but it seems super inefficient and time consuming.
It is always a bit tricky and time consuming to debug Bluetooth functions on with ReactNative apps on a physical iPhone. There are really only two options:
Run with an expo server (
npm startfrom your project folder)Run with the ReactNative code bundled with your app. (Simply stop the Expo server used in step 1 after the first time you run your app -- but you will need to restart the expo server and re-run each time you change your code so that it gets loaded to the iPhone app's bundle.)
Either way, you need to launch the app onto your iPhone with XCode, and you can see ReactNative debug lines in the XCode debug console. If you are running Expo, you can see debug lines there as well.
Running with bundled code can be advantageous because sometimes you need to test when not tethered to your workstation.