iampnelson / LineaPro-TiModule

LineaPRO Module for Titanium SDK 3.x and iOS SDK 6.x
13 stars 3 forks source link

Module loses connectivity after phone has been idle for an extended period of time #1

Open chris-nelson opened 11 years ago

chris-nelson commented 11 years ago

I've noticed on both the iPod touch and iPhone 5 running iOS6 (and Titanium SDK 3.0.2 GA) that if left idle for 40+ mins with the app open or closed, it will lose connectivity to the Peripheral.

Simply killing the app and restarting it fixes the issue.

iampnelson commented 11 years ago

Are you requiring the the Linea module within app.js outside of any commonjs stuff?

On Mar 20, 2013, at 5:03 AM, Chris Nelson notifications@github.com wrote:

I've noticed on both the iPod touch and iPhone 5 running iOS6 (and Titanium SDK 3.0.2 GA) that if left idle for 40+ mins with the app open or closed, it will lose connectivity to the Peripheral.

Simply killing the app and restarting it fixes the issue.

— Reply to this email directly or view it on GitHub.

chris-nelson commented 11 years ago

Yes. Is that bad practice? On Mar 20, 2013 10:16 AM, "Paul Nelson" notifications@github.com wrote:

Are you requiring the the Linea module within app.js outside of any commonjs stuff?

On Mar 20, 2013, at 5:03 AM, Chris Nelson notifications@github.com wrote:

I've noticed on both the iPod touch and iPhone 5 running iOS6 (and Titanium SDK 3.0.2 GA) that if left idle for 40+ mins with the app open or closed, it will lose connectivity to the Peripheral.

Simply killing the app and restarting it fixes the issue.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/iampnelson/LineaPro-TiModule/issues/1#issuecomment-15177957 .

iampnelson commented 11 years ago

No, that's the preferred practice. I'm just trying to single out the obvious. Makes it easier to figure out what's going on. I'm looking into this.

On Mar 20, 2013, at 7:47 AM, Chris Nelson notifications@github.com wrote:

Yes. Is that bad practice? On Mar 20, 2013 10:16 AM, "Paul Nelson" notifications@github.com wrote:

Are you requiring the the Linea module within app.js outside of any commonjs stuff?

On Mar 20, 2013, at 5:03 AM, Chris Nelson notifications@github.com wrote:

I've noticed on both the iPod touch and iPhone 5 running iOS6 (and Titanium SDK 3.0.2 GA) that if left idle for 40+ mins with the app open or closed, it will lose connectivity to the Peripheral.

Simply killing the app and restarting it fixes the issue.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/iampnelson/LineaPro-TiModule/issues/1#issuecomment-15177957 .

— Reply to this email directly or view it on GitHub.