Comments (7)
Thanks for reporting with detailed information. I'll have to look into why it's occurring more often on Android. If I understand correctly, they are never able to see any views of your App, it is immediately "Disconnected"?
from pebblejs.
That is correct, I am using PebbleJs, and my app is called "Where Am I?"
from pebblejs.
Well, this is a funny one. Using adb logcat
, I found that the Android app experiences an exception when trying to load your app likely because it has a question mark in its name. It took me awhile to realize this because after this exception occurs, javascript is completely disabled for any kind of pebble app. This tricked myself into thinking pebble.js wasn't working entirely. A "Force Stop" on the Android app is required to get out of this bad state.
In any case, we can test this hypothesis. Could you try renaming your app to "Where Am I" and publishing that on the app store? I believe it's the longName
that must be changed, but you can remove the question mark from both longName
and shortName
just to be safe. I can test your app after you've published it. If it's fixed, I'll be filing a bug report for the Pebble Android App.
from pebblejs.
Hey Meiguro, I just published a release and took the question mark out of the longName
and the shortName
. The app is public on Android and waiting for JavaScript bundling on iOS.
Let me know if it works.
from pebblejs.
Success, it works with my Android phone! The first run will produce NaN for long and lat, but subsequent runs will correctly show my location, nice work.
Your Android users will need to unload the app and then try to load the app again; loading apps from the locker downloads the latest version. They should also force stop the app or reboot the phone too.
from pebblejs.
Will automatic app updates work, or will have to ask the users to manually unload and reload? Also will there be a fix to the "question mark bug" because I wanted to add that back to the title of the name. Thanks!
from pebblejs.
Yes, auto update should work, but only if they're using the 2.3 beta. I would probably send a mass email suggesting to unload and reload. I'd also throw in the tip to force stop and reboot if they are stilling having the issue because they may have their JavaScript temporarily disabled by the bug.
Haha, yes, there will definitely be a fix for the question mark bug. If not, I'll keep pestering. You can even send a reminder to [email protected] if it's still an issue weeks from now. In any case, I'll let you know when it's fixed in this thread. While this ticket is closed, it should still email you.
from pebblejs.
Related Issues (20)
- [Bug] Run time error when show UI.card() HOT 4
- [Bug] Error when building with the SDK 3.10 HOT 1
- [Feature Request] Disconnected message as a customisable image, like the startup screen
- [Bug] Card goes fullscreen when going back from Menu
- need a cloudpebble update HOT 3
- Bug in OGPebble 3.11.1 HOT 3
- Accel 'tap' event not very sensitive HOT 4
- Number conversion to string - Menus HOT 2
- App crashed when move from a Window to Menu HOT 17
- [Bug] Menu Screen Dotted Line HOT 3
- [Bug] Scrolling issue on Aplite HOT 6
- Circle.radius accessor is undefined HOT 1
- Modifications while Voice window is the top window cause a crash HOT 1
- Cloud Pebble Unable to Upload Images (PNG)
- Settings.config callback crashes when passed option containing encoded percent sign HOT 2
- Pebble.js compilation fails for Pebble 2 / Diorid HOT 2
- Application crash on pebble HOT 10
- Porting Pebble.js to Canvas (rocky.js)
- Wakeup not discarding itself or cancelling
- .
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pebblejs.