Closed
Bug 1302634
Opened 8 years ago
Closed 7 years ago
Get the sms app working again
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: Vagrantin, Unassigned)
References
Details
Attachments
(1 file)
123.67 KB,
image/jpeg
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Reporter | ||
Comment 1•8 years ago
|
||
Current Status, reviewing the code to understand how it works and building a B2GOS emulator to be able to test
Comment 2•8 years ago
|
||
Hint: transition branches have been merged into m-c and gaia/master. We are working only on mozilla-central and gaia/master now :-)
Reporter | ||
Updated•8 years ago
|
Summary: Get the sms app working again in transition branch → Get the sms app working again
Reporter | ||
Comment 3•8 years ago
|
||
fair enough edited the title :)
Reporter | ||
Comment 5•8 years ago
|
||
From what i understand now the app, is "broken" because Datastore API has been removed, here the logs from the Webconsole: 08:29:59.438 "Can't edit chrome://gaia/content/sms/index.html, waiting for write" places.js:289:17 08:29:59.657 Invalid mozMobileConnections for shim initialization moz_mobile_connections_shim.js:36:7 08:29:59.688 Error opening the dataStore: TypeError: navigator.getDataStores is not a function icons_helper.js:157:13 08:29:59.714 "Can't edit chrome://gaia/content/sms/index.html, waiting for write" places.js:289:17 One suggestion was to use indexedDB instead but i have no idea at all how to do that any help would be welcome to go forward. Thanks Matth
Blocks: 1252143
Comment 6•8 years ago
|
||
Are you sure the error from icons_helper actually comes from the Messages app ? It's not used anywhere in the app... A grep for icons_helper in the root directory doesn't bring anything from /shared or sms so I don't understand where this comes from. As far as I know, the Datastore API is used only for the Facebook friends in the Messages app. And I even think the JS lib we use for this just ignores it if the Datastore API is unavailable (see /shared/js/fb/ -- not the best JS code, sorry).
Reporter | ||
Comment 7•8 years ago
|
||
Hi Julien, Effectively you're right misleading errors, sorry since i'm not very familiar to gaia regularly looking at error which are not related to my issue. Keep digging into this double checking if all css/js are properly loaded. I know feel my problem is more in that path.. thanks for the hint
Comment 8•8 years ago
|
||
If you run this from a device, I usually use this command to debug: while true ; do adb logcat -v threadtime; done (it's in an alias for me). This helps showing where and when a specific log happens.
Reporter | ||
Comment 9•8 years ago
|
||
So far as i'm only on mulet don't have any device for now. But sometimes it behaves strangely :) Matth
Reporter | ||
Comment 10•8 years ago
|
||
Hi All, Pretty much stuck at the same stage for now here attached are the error i'm getting in mulet , but didn't get what could be the cause. If any one has any hint, it would be much appreciated. Matth
Reporter | ||
Comment 11•8 years ago
|
||
It's a screenshot of the error i'm getting since i didn't find a way to export the logs from mulet and copy paste doesn't work between my host and guest OS.
Comment 12•8 years ago
|
||
The main issue is the first line: the API mozMobileMessage is missing. Now, I don't know why :) Maybe it's not built in Mulet because this API is related to RIL. The best would be to try this on either a real device or a phone emulator.
Reporter | ||
Comment 13•8 years ago
|
||
Okey thanks ! I have asked on discourse if someone can give it a try on a device So far can't get the homescreen fully loading on the emulator.. FI, here is my repo https://github.com/Vagrantin/gaia/tree/SMS_App Matth
Comment 14•8 years ago
|
||
I'm working on a patch to get the emulator working again. I'll open a bug and attach it later.
Comment 15•7 years ago
|
||
Mass closing of Gaia::SMS bugs. End of an era :(
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Comment 16•7 years ago
|
||
Mass closing of Gaia::SMS bugs. End of an era :(
You need to log in
before you can comment on or make changes to this bug.
Description
•