Open gkkirilov opened 3 days ago
Just so the team doesn't close this, we're aware that the redefine errors likely come from https://github.com/tauri-apps/wry/pull/1418 not being released yet. This shouldn't cause a white screen though and is also irrelevant to the url thing.
Describe the bug
The result is an android emulator with white screen and few errors, the desktop app is working correctly
11-18 01:50:55.088 20184 20184 E Tauri/Console: File: - Line 138 - Msg: Uncaught TypeError: Cannot redefine property: postMessage 11-18 01:50:55.088 20184 20184 E Tauri/Console: File: - Line 2 - Msg: Uncaught TypeError: Cannot redefine property: metadata 11-18 01:50:55.089 20184 20184 E Tauri/Console: File: - Line 25 - Msg: Uncaught TypeError: Cannot redefine property: __TAURI_PATTERN__ 11-18 01:50:55.089 20184 20184 E Tauri/Console: File: - Line 5 - Msg: Uncaught TypeError: Cannot redefine property: path
Also I found out that on the android device the tauri.localhost URL is not working with nuxt and returning 500, as the URLs resources are loaded from are incorrect and inputting manually the localhost:3000 moves us further into the process.
Reproduction
https://github.com/gkkirilov/mobile-test
Clone npm install npx tauri android dev
Open web inspector for android from chrome://inspect/#devices change the URL to localhost:3000 See errors in console
Expected behavior
To show the content of the app on the android emulator
Full
tauri info
outputStack trace
No response
Additional context
Will test on a Mac in the next hour to see if the result is the same