This PR updates the targetSdk version to 34. During testing, two issues were found:
Services now require a foregroundServiceType.
Sentry needed to be updated. Found an issue on Sentry's repo and the corresponding fix. It was released in 6.32.0. I realize this increases risk, so I only updated Sentry to the lowest possible version that avoided the crash.
Something to note. I used datasync as the foreground service type. This makes sense as we are processing the image and the camera does not need to be open for this. But feel free to make sure I chose the right foreground service type as a second pair of eyes.
Note:
I tested this with the sample app and Wordpress Android. Worked fine on both.
Issue: https://github.com/Automattic/stories-android/issues/744 Parent: https://github.com/orgs/wordpress-mobile/projects/223
This PR updates the
targetSdk
version to 34. During testing, two issues were found:foregroundServiceType
.Something to note. I used datasync as the foreground service type. This makes sense as we are processing the image and the camera does not need to be open for this. But feel free to make sure I chose the right foreground service type as a second pair of eyes.
Note:
I tested this with the sample app and Wordpress Android. Worked fine on both.