Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Companion Code running in simulator, but not when loaded to a Versa 2 and iPhone

Hi guys.

I’m finding that my companion code will work when in the simulator, but when it’s on my Versa 2 and iPhone it won't run at all...

 

Any ideas why?

 

Cheers

Best Answer
0 Votes
2 REPLIES 2

Permissions?

Stick a console.log('x') at the start of companion index.js and see if it starts.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

@Gondwana already did that. That's how I confirmed that the companion code is not even running the first line.

 

I'm a little confused with the permissions tho. So on my Fitbit Studio, I select the permissions required but when I load onto my versa and phone I don't get any messages asking if I allow the permissions... Is that normal? 

 

 

Best Answer
0 Votes