-
Notifications
You must be signed in to change notification settings - Fork 8
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
Maintenance Release: Removing references to window.speechSynthesis in Android #608
Comments
Maintenance checks done on non-android platforms today. Hopefully testing for non-published sims on the android app will be set up tomorrow, so those checks can be done. |
Here is the debug version of the Android App: https://play.google.com/apps/test/RQWzILOtqlk/ahAIsfLry2xmGH3JMFzPv3YRwflGr8L2yW8suxJj_srKJ2d80l4S4R0x-d4FTmsSVS07xQyf5V0XuR3os0nA9PGEoc To install this version, click that link on an Android device. That will take you to the play store, but it will say you need to enable instant app sharing in the Play Store settings. As described in Google's documentation, to access this setting you have to tap "Play Store Version" 7 times. You might need to exit the Play Store settings and reopen them after this step in order to see the Instant App setting. |
Things seemed ok on the Android tablet and the sims opened alright. But I noticed that the keyboard nav on Faraday's Law didn't work properly on the ChromeOS device. Tabbing worked alright, but any other keyboard command, such as space to pick up the magnet, or the arrow keys to switch number of loops, did not work. |
This is not in my wheel house. |
Sorry, mis-clicked |
Thanks @KatieWoe. Can you please try on the published version on ChromeOS? It would be good to find out if something about my change broke the sim or something else in this version is broken. https://phet.colorado.edu/sims/html/faradays-law/latest/faradays-law_en.html |
The problem is the published version won't load on the app. |
@KatieWoe and I met to discuss the problem. What seems to be happening is that keyboard interactions are sometimes going to the app wrapper rather than the sim. We were wondering if the test harness in #608 (comment) could be interfering with keyboard input in some way, @mattpen does that seem possible? @KatieWoe said that the problem was not happening in the published version of john-travoltage. So it is either a new issue in PhET code or something related to the app, but it seems pretty unlikely that changes for this issue would have caused this problem. One way to test would be to publish faradays-law, then see if the bug happens in the published version. If not, then we would know it has something to do with the harness in #608 (comment) |
I think I am going to go ahead and deploy these two to production, as the issue has been verified as fixed and is unlikely to be related to what @KatieWoe reported above. If the issue is still in the published sim we will create a new issue to investigate. |
Production links were deployed, I quickly checked each and they look OK. @KatieWoe would you mind trying keyboard navigation in this version of faradays-law and seeing if the problem is still there? |
I think I need to wait for these versions to go to the app. I'll check on this tomorrow |
I am still seeing this issue in the app. I explored a bit further, and keyboard nav seems to work in chrome on the ChromeOS device. I also tested a few more sims, and this may be a bit more general. I tried Gravity Force Lab and saw that I wasn't able to use space to pick up the ruler. |
It's possible that the app could be intercepting the keyboard input. The "test harness" is just a webview in the app that points at phet-dev, and has the same configuration as the webview that is used to play sim files directly (just over file protocol instead of http). @jessegreenberg - do you have an android/chromebook device for testing sims? |
@mattpen and I talked over slack and then made https://github.com/phetsims/phet-android-app/issues/156. It looks like there may be a few issues related to alternative input to work on. But they are not related to this fix, so this issue is done. Thanks for the checks @KatieWoe and others. |
The issue is identified in https://github.com/phetsims/phet-android-app/issues/155 and fixing commits are referenced there. The bug was that sims were not able to run in the PhET android app because they were trying to use a window object that is unavailable on that platform. MR process identified these as being the only sims (outside of existing RC's) that had this bug:
Release Candidate links
faradays-law 1.4 (https://github.com/phetsims/phet-android-app/issues/155)
number-line-operations 1.0 (https://github.com/phetsims/phet-android-app/issues/155)
Please play around with each sim for a few minutes to make sure all is well. Then if possible please make sure that the sim is running in the PhET Android app.
Assigning to @KatieWoe and @kathy-phet to prioritize.
The text was updated successfully, but these errors were encountered: