-
Notifications
You must be signed in to change notification settings - Fork 29
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
MOB-9249 - Android 15 upgrade #811
Draft
Ayyanchira
wants to merge
25
commits into
master
Choose a base branch
from
chore/android15-compatibility
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bumping compileSDK version to 35 and Tester app seems to be running okay with it
Build Gradle - Version updates to mocktio, mockwebserver, mockito-android to app & api build.gradle files. minifyEnabled on - app, api, & api-ui and sample app build.gradle as well kotlin jdk 7 to 8 update on api and api-ui gradle build update from 8.5.1 to 8.5.2 on project build gradle Test method server request now includes max wait of 5 seconds for each test. Looked like a sweet spot to avoid flakiness.
isNull do not need parameters. Modifying those.
Embedded Mock manager removal. Embedded tests are confirmed to work
Allowing online request processor to run the execution on executor, allowing for async approach. Offline request processor is untouched and will follow the Tasks one by one as it might need to stop processing if one of them fails and avoid data loss. This approach seems not harmful for online request processor
When targeting newer SDK, Api Requests Tests fails. non https requests were not getting checked. Hence clear test allowance NotificationTest were failing. Required permission to post notification
Added a note in ignoring annotation for taking a look later.
No specific reason. Android studio suggestions. No regression.
This is an effort to make the test of button with action with remote inputs be mutable. The tests are all passing. But I am also feeling, whether to mark pendingIntent as Mutable or Immutable can be decided based on if a mutable intent is required. Remote input might require mutable intent as the data from keyboard could change the intent. But may be not other buttons which do not necessarily open the app. But providing mutable doesnt cause big harm is what Im thinking.
Bumping targetSDK version to 29
Now buttons not opening the app will have mutable intent
# Conflicts: # app/build.gradle
Compile SDK to 34 across everything Target SDK raised in api and api-ui to 32 minSDK version is now 21 across everything. This change perhaps came from another branch. We had already bumped minSDK version before. Or perhaps only app build.gradle was updated before! Dependencies updates: Test runner, test rules, espresso, junit, uiauomator updated in api build gradle ApiResponseTest class - timeout increase helps run the test consistently ok. NotificationTest class - Ignoring a image checking method. Not allowing to pass null in bigPictureIcon. removing the line in code also doesnt pass the test. Hence ignoring this method. From api- builder class, removed the line which sets bigLargeIcon to null. EmbeddedView now uses new ways to setbackground instead of deprecated setBackgroundDrawable method.
Ayyanchira
force-pushed
the
chore/android15-compatibility
branch
from
November 8, 2024 20:01
4d951e8
to
3142bb6
Compare
This is a temporary change and SDK should have this in place to keep quality in check
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🔹 Jira Ticket(s) if any
✏️ Description