Skip to content
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

Closed
wants to merge 2 commits into from
Closed

Conversation

Kautilya346
Copy link

@Kautilya346 Kautilya346 commented Jan 12, 2025

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

  • Tests have been added or updated to cover the changes
  • Documentation has been updated to reflect the changes
  • Code follows the established coding style guidelines
  • All tests are passing

Kautilya03 added 2 commits January 12, 2025 15:04
@ganidande905
Copy link
Contributor

I think using 8.10 is better in the root gradle wrapper properties since it aligns with the latest java version

@Kautilya346
Copy link
Author

@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());
Copy link
Collaborator

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
Copy link
Collaborator

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?

android/gradle.properties Show resolved Hide resolved
@Kautilya346
Copy link
Author

As a issue resolving this issue has already been merged. I close this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants