Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox Android #83

Closed
bhnettv opened this issue Apr 9, 2020 · 10 comments
Closed

Firefox Android #83

bhnettv opened this issue Apr 9, 2020 · 10 comments

Comments

@bhnettv
Copy link

bhnettv commented Apr 9, 2020

Hello. Is it posible to make this addon work on firefox mobile?
Thanks

@tborychowski
Copy link
Member

It doesn't work?
Mozilla user stats shows users with firefox mobile too?

@bhnettv
Copy link
Author

bhnettv commented Apr 10, 2020

I dont know. Extension is enabled and there is no posibilities to change about:home which is default firefox home screen.

@tborychowski
Copy link
Member

🤔
Have you (or could you) tried any other extensions that replace the home screen?
Do they work?
If not, than that would probably be another firefox restriction.
If they do work - than there's a chance I could fix it too.
It will be difficult though, as I have no access to an android device 😐

@bhnettv
Copy link
Author

bhnettv commented Apr 10, 2020

one that work is bitbiz newtab bu i have to change home address to point to:
moz-extension://5caf1780-6061-48eb-ac8f-68abfd48db6a/momentum.html

another thing is that I dont see any options on android just enble/disable and uninstall

@tborychowski
Copy link
Member

another thing is that I dont see any options on android just enble/disable and uninstall
what do you mean? you can't uninstall my extension?

as for adding specific extension URL as homepage - this should also be possible. You'd just need to know the ID that your firefox assigns to this extension.
As a part of this issue #53 I'll be adding a button to the extension toolbar, which will open the perfect home specifically. From there you should be able to pick up the URL (with the ID).
Maybe that would help?

Sorry, but I'm not sure how otherwise I could debug that without a device...

@bhnettv
Copy link
Author

bhnettv commented Apr 11, 2020

this is the manifest of bitbiz
{
"manifest_version": 2,
"name": "Bitbiz New Tab",
"version": "1.0",
"description": "Bitbiz New Tab by BitBiz.nl",

"browser_action": {
"default_icon": "logo.png",
"default_popup": "popup.html"
},

"chrome_url_overrides": {
  "newtab": "momentum.html"
},

"permissions": [
"activeTab",
"https://ajax.googleapis.com/",
"geolocation"
]

and I somehow managed to start your app but got undefined on main screen with two buttons settings and search neither work

@tborychowski
Copy link
Member

Thanks for that.
This actually looks similar to the other issue: #82, which gives me an idea that I can test (in waterfox).
It's possible that the default bookmark folder, that the extensions selects, is not there (in both cases: android & waterfox) and it fails there, preventing the rest of the extension to work...
Let me do some tests.

@tborychowski
Copy link
Member

tborychowski commented Apr 13, 2020

this is the same issue as #82
closing as duplicate.
further progress will be tracked there.

@tborychowski
Copy link
Member

This happens because Firefox for Android does not support ResizeObserver.
Fix on the way.

@tborychowski
Copy link
Member

This should be fixed in the latest version 0.10.0.
Please reopen the issue if you still see the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants