-
Notifications
You must be signed in to change notification settings - Fork 149
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
Gradle update #627
Gradle update #627
Conversation
…cted crashing of the app after launch
…n devices with android 13 or higher
I think using 8.10 is better in the root gradle wrapper properties since it aligns with the latest java version |
@ganidande905 I have tried that but many of the dependencies being used in the project do not support a java version higher than 19. Updating all the dependencies will result in a lot of code changes which I avoided. |
@@ -30,7 +30,7 @@ void main() async { | |||
final storage = Get.find<GetStorageProvider>(); | |||
loc = await storage.readLocale(); | |||
|
|||
final ThemeController themeController = Get.put(ThemeController()); | |||
//final ThemeController themeController = Get.put(ThemeController()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why have you commented this out?
@@ -57,6 +56,7 @@ dependencies: | |||
intl_phone_number_input: ^0.7.4 | |||
firebase_messaging: ^14.7.19 | |||
shared_preferences: ^2.2.3 | |||
win32: ^5.10.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this dep updated?
As a issue resolving this issue has already been merged. I close this PR |
Description
The application was using an outdated version of Gradle, which caused compatibility issues when setting up the project on devices using newer technologies. To resolve this, the Gradle version was updated, and the build files were modified to accommodate the changes.
Additionally, the application would crash on devices running Android 13 due to a missing receiver export declaration in one of the .kt files. This issue has now been addressed.
Proposed Changes
1.Upgraded the Gradle version to 8.3.
3.Fixed the MainActivity.kt file to comply with the updated Android protocols, ensuring the app runs seamlessly on newer devices.
Checklist