ShakeS
Shake
Apr 22

[iOS SDK v15.0 and above] Ability to pause Shake data collection

Previously isPaused: `@property (class) BOOL isPaused;`
CompletedCompleted

Jun 12, 2023

Jteyber Just to make sure that we are on the same page. If I understood correctly, you have a problem with app screen orientation when using Shake. Your app screen orientation gets locked and disabling automatic screen recording on >= 16.0 doesn't helps you. Is that correct?

Jun 12, 2023

Mislav Stanic: exactly

Jun 13, 2023

Jteyber: If this is the case, can you check if this is still happening for you on Shake >=16.1? Im not sure if you tested it on 16 or 16.x version, since 16.1 we have introduced changes that should fix your problem.

Jun 13, 2023

Mislav Stanic is there a parameter to activate or deactivate so that the rotation is functional ?

Jun 13, 2023

Jteyber: Considering that your app didn't lock screen orientation, you should be able to rotate app screen on Shake version >= 16.1 without problems. If that is not the case please let me know.

Jun 13, 2023

Mislav Stanic: unfortunately, the rotation is not functional. Feel free to watch the different videos that demonstrate the issue according to the different versions of Shake SDK. https://github.com/jteyber/issue-Shake-RPScreenRecorder/blob…

Jun 13, 2023

Jteyber: Hello, could you please try this code instead of isAutoVideoRecordingEnabled? self.confLabel.text = "isUserFeedbackEnabled: " + (Shake.configuration.isUserFeedbackEnabled ? "on" : "off") in same file at the end also change: Shake.configuration.isUserFeedbackEnabled = self.confSwitch.isOn With this configuration I got screen rotation to work as it was on SDK v15.1.1.

Jun 14, 2023

hi Monika Marovic, sorry but the screen didn't rotate using `isUserFeedbackEnabled` configuration :/ i add a new video to show you : https://github.com/jteyber/issue-Shake-RPScreenRecorder/tree…

Jun 14, 2023

Jteyber: Hello, Have you added valid Client ID and Client Secret to the AppDelegate? If you haven't, Shake won't start, and this part of the code won't have any meaning, unfortunately.

Jun 14, 2023

Monika Marovic: yes, `clientId` and `clientSecret` are filled in AppDelegate… maybe i forget something ?

Jun 14, 2023

Jteyber: Could you please try adding configuration for showing floating button to see if Shake is started in you app properly, like this: Shake.configuration.isUserFeedbackEnabled = self.confSwitch.isOn Shake.configuration.isFloatingReportButtonShown = true

Jun 14, 2023

Monika Marovic: oh wow ! Rotation when `isFloatingReportButtonShown` has been set once to `true` \o/ is there anything else that might be useful if we don't want to use the floating button ? :)

Jun 14, 2023

Jteyber: Well, I'm not an iOS developer myself, so I don't have all the expertise in that area. But luckily, the solution I provided seems to have worked out well in this case. :D At the moment, this is the best workaround I can provide.

Jun 14, 2023

thank you for your reponses Monika Marovic and your time :) thanks to Mislav Stanic too !

May 15, 2023

> Does this help? nope :( i put a sample code to quickly test the issue with Automatic Screen Recording and device's rotation troubles. https://github.com/jteyber/issue-Shake-RPScreenRecorder For information, on Shake 15.1.1, we use `isPaused` property to temporary disable Shake on some screens and using device rotation in our apps.

Apr 19, 2023

Done 👍 You can now enable/disable Shake's "User feedback" module: https://docs.shakebugs.com/docs/ios/user-feedback/enable/ and the "Crash" module: https://docs.shakebugs.com/docs/ios/crash-reports/enable/ Does this help?