-
Notifications
You must be signed in to change notification settings - Fork 1
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
App freezes #27
Comments
I will investigate it |
Have someone faced this bug recently and could provide more details how to reproduce it? Unfortunately, I still can't reproduce it |
It has been a few weeks since someone has told us about it. We will check. |
The app froze for me today. Here's how it happened: I had scanned a qr code, and after a few minutes, i got the "disable portrait mode" warning. The phone was oriented horizontally. I swiped up to see if portrait lock was on, and it was not. I then swiped up out of the app (did not close), then came back in. The "disable portrait mode" warning went away, but then the video viewfinder was frozen. I was able to press the gear, start a new session, and everything worked ok after that. |
@suhlrich I have configured observer for tracking capture session errors which can help us to catch freeze error. Do I need to present alert with the error description for this case or maybe do you have API which can I use to send logs on the backend? Thanks! |
Let’s just do an alert for now. Isn’t it possible when testing on TestFlight to send errors to the developer?
On May 3, 2023, at 1:08 PM, Nikita Shebeda ***@***.***> wrote:
@suhlrich<https://github.com/suhlrich> I have configured observer for tracking capture session errors which can help us to catch freeze error. Do I need to present alert with the error description for this case or maybe do you have API which can I use to send logs on the backend? Thanks!
—
Reply to this email directly, view it on GitHub<#27 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKOYGJ3Q7AYB4MBFZCLP7STXEK3MLANCNFSM6AAAAAAW4EDX4E>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@xhardcorex - i got the app to freeze again today. I just stopped a recording and the viewfinder froze (it was also not uploading videos). Buttons were still working. Can we add a button to send logs when this happens? I did not get an alert on the device. |
@xhardcorex, if we want to send logs to server, we can upload a txt file the same way we do a video. Get an S3 link, then post using same parameters as we do for a video. |
Got it and will do. Now we have in the build 1.6(25) observer to catch this error and presents alert. |
Thanks! Had the phones freeze this weekend, here is what I noticed.
|
Could you please provide device model and iOS version of device you tested? Will you have a chance to record the screen(approximately for 10-15 seconds) when you stuck the freeze next time and share with me the video? Thanks! |
It happened on these two devices: iphone 12 Pro. ios 16.4.1 (20E252) And yes, next time I will take a video of the screen. Good idea. |
@xhardcorex would it be possible to have a button on the error dialog that shows up that says "send error message to developers." when they press it, we upload to the database just like a video? Let's not push this before this weekend (we have a big data collection over the weekend and I'd like to use a stable build), but if we could have it sometime next week, that'd be awesome! |
@suhlrich Yes, I can implement it next week. |
@suhlrich Could I implement error dialog with possibility to send message with error? |
that's a nice solution. would it be hard to email the error to one of us, or is it best to upload to the server. If we go to server, we'll have no way to know, unless it was us who collected the data.
Scott Uhlrich, PhD
Director of Research | Human Performance Lab
Bioengineering Department
Stanford University
<https://nmbl.stanford.edu/people/scott-uhlrich/>website<https://nmbl.stanford.edu/people/scott-uhlrich/>
…________________________________
From: Nikita Shebeda ***@***.***>
Sent: Wednesday, May 24, 2023 1:50 PM
To: stanfordnmbl/opencap-iphone ***@***.***>
Cc: Scott David Uhlrich ***@***.***>; Mention ***@***.***>
Subject: Re: [stanfordnmbl/opencap-iphone] App freezes (Issue #27)
@suhlrich<https://github.com/suhlrich> Could I implement error dialog with possibility to send message with error?
—
Reply to this email directly, view it on GitHub<#27 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AKOYGJ3L2UNTURT7LPAJBHTXHZYAPANCNFSM6AAAAAAW4EDX4E>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Got it. Unfortunatelly Apple blocked possibility to send mails automatically without using "MFMailComposeViewController". But we can connect API for sending messages like Brevo, Postmark or similar. Also, I like to use Firebase Crashlytics for this case. We can track crashes, warnings, not critical issues. It's really powerful service that easy to setup and for free. Please take a look screenshot Crashlytics screenshot from one of my project. Let me know your thoughts. |
Firebase Crashlytics seems like a great platform. Go ahead and set it up. |
Here are the 2 types of crashes we've been getting. First: the viewer freezes, seemingly after trial stopped and in process of uploading (person still in view). Without closing the app, you can get out of it by starting a new session. This crash has been happening for several months. Video.May.21.1.44.42.PM.mp4Second: the viewer freezes, you cannot get viewer to reappear with start new session or closing/restarting the app. The iphone camera app also will not work. Only sol'n I've found is restarting phone. The first version I noticed this crash on was 1.6 (24) Video.May.21.4.10.31.PM.mp4 |
Ok, I will integrate Firebase Crashlytics to the project and sort out crashes you provided above. |
@suhlrich Could you please provide list of emails of users to whom I should invite to Firebase? |
The app freezes during collection sometimes. The video on device screen freezes, and it stops pinging the server. Fine with close and restart. Any ideas @xhardcorex?
The text was updated successfully, but these errors were encountered: