4

I'm currently developing a chrome extension with CRXJS (allows you to use Vite and react with chrome extensions). My extension works fine on all browsers, except for Orion. I do not think CRXJS is related to the issue, but will also be posting an issue on their repository.

The first time I installed the extension, I got the following error logged in the console: "TypeError: Module name, '' does not resolve to a valid URL" and the extension didn't work at all. I have not encountered this issue on any other browser so I'm unsure of the cause. I simply uninstalled and re-installed the extension, and it worked. I tried this multiple times by uninstalling the entire Orion app and clearing the cache and related files, and the same pattern continued. I have to install it, then uninstall and reinstall for it to work normally every single time. I am not sure why reinstalling an extension fixes the issue.

I then tried it on iOS, and the extension does not work at all, even after uninstalling and reinstalling. I would appreciate any help on this. Thanks!

The extension should work on the first install on both iOS and macOS.

0.99.127.3-beta

Sonoma (14)

17

  • Vlad replied to this.

    I've done several experiments with CRXJS, and now believe the cause is something to do with CRXJS. I have created minimal project that simply inserts a message div on google.com, and that fails to load on iOS. There are no issues with this project on the macOS app however (it was caused by a different library that I have since replaced) and it is probably better to focus on why the extension doesn't load at all on iOS

    Repo with a simple extension to replicate the issue:
    https://github.com/kirankunigiri/crxjs-orion-test

    GitHub issue logged for CRXJS
    https://github.com/crxjs/chrome-extension-tools/issues/887

    It would be helpful if there is any way to see the logs in the iOS browser to see if there are any error messages to explain the issue. Is there any way to do this?

    • Vio likes this.
    No one is typing