Skip to content

IOS version check added to check if the device supports devicemotionevent.requestPermission() function#43

Merged
eric-m-truong merged 2 commits into
mainfrom
samilkk-older-IOS-support
May 27, 2022
Merged

IOS version check added to check if the device supports devicemotionevent.requestPermission() function#43
eric-m-truong merged 2 commits into
mainfrom
samilkk-older-IOS-support

Conversation

@samilkk
Copy link
Copy Markdown
Collaborator

@samilkk samilkk commented May 26, 2022

Changes

Added a function that returns the function of the IOS devices.
Using that function, a version check added before asking for permission to access accelerometer data.

Testing

Just try to make a file transfer and make sure my implementation didn't affect Android and desktop devices. I tested on my older IOS, and now I get a different error on my local host. However, I don't get the error below anymore.
Screen Shot 2022-05-26 at 10 50 03 AM

The new error I get on my local host is
Screen Shot 2022-05-26 at 10 43 44 AM
However, I don't get this error on bambam.app. Therefore, I believe when we merge this into main, my older IOS device will be able to use our app.

If you can run my branch on bambam.app temporarily without merging it into the main branch, I may be able to test it.

@samilkk samilkk requested a review from eric-m-truong May 26, 2022 17:55
@eric-m-truong eric-m-truong merged commit 03f8244 into main May 27, 2022
@eric-m-truong eric-m-truong deleted the samilkk-older-IOS-support branch May 27, 2022 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants