-
Notifications
You must be signed in to change notification settings - Fork 83
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
Web Fonts Cause Cordova Export to get stuck on construct 3 loading screen #2691
Comments
Can you post the system details for your S8+, the S8 we have in the office succeeds in loading the project. It has recently updated to Android 9 though. Also reassigning to @AshleyScirra |
Sure here is the galaxy s8+ info. If you need anything more, just let me know. |
@rhg1968 - is the Android Webview / Chrome apps up-to-date on the device? |
My device has no outstanding updates, both through the google play store or through system updates. |
Very interesting what I just found, but not really sure why it is making a difference. |
Now I changed my actual game, not the sample project I created, to export at 8.0+ and it still doesn't work. So not sure what is going on |
I also noticed the sample project, the one I included with this issue, compiled with android 8.0+ actually works on my device sometimes and other times it hangs on the splash screen as an APK. It almost appears like a timing issue with loading the fonts that I have included in the project. |
Which version of Construct are you using? Is it the latest? (If you include the system details in the report we don't have to check this.) |
I am using r140 and it was listed above but it was in the affect browsers and platforms section |
I also can't reproduce: it works fine as an APK on a Pixel 3. I'm afraid we won't be able to help unless you can obtain some kind of error from the affected device. You'll need to set up remote debugging for the WebView in the APK and check for any errors in the console log. Otherwise we will have nothing to go on - it seems to work fine on our devices. |
I'll have to see what I can do. Even in my game if I try enough times on my phone, it will eventually work until the next time I start it up. The usb port on my phone doesn't work well, I always charge through a pad, so hooking up to a computer may be difficult to try chrome dev tools. I will try and see what I can do because it definitely seems to be some type of timing issue with the fonts that doesn't happen if I remove the fonts. I'll let you know what I find and thank you for looking into this. |
Not that it probably helps but just thought I would toss in another data point |
To diagnose an issue it's more useful to have a project that reproduces the problem every time. That's what we need to debug; working projects aren't especially useful. Since we don't currently have a way to investigate this any further I will leave this with you and close the issue. If you can provide something that we can use as the basis to further investigate the issue I'll reopen it. |
Problem description
If you run the attached project (with web fonts) in a browser (mobile or desktop), it works correctly. If you export it as an android debug version it gets hung on the construct 3 loading screen. If you remove the web fonts from the project, it will work after being exported again.
Attach a .c3p
FontTest.zip
Just change the file back to .c3p.
Steps to reproduce
Observed result
The construct 3 loading screen shows and it just gets stuck there.
Expected result
That after the splash screen, that my test messages would show on the screen.
More details
If I remove the fonts from the project and export again, it works correctly.
Works correctly on chrome on my desktop and chrome on my android device.
Once exported as an apk, the issue appears with the android(chrome) web view.
Affected browsers/platforms:
Not sure because I haven't really tried exporting before. I am currently on r140.
First affected release:
System details
View details
PASTE HERE
The text was updated successfully, but these errors were encountered: