Skip to content

Conversation

@ScreepCode
Copy link
Owner

MoveTopia Update Changelog

Bug fixes

  • Fix missing permissions for internet

Fehlerbehebungen

  • Fehler mit fehlenden Internetberechtigungen behoben

ScreepCode and others added 2 commits April 25, 2025 10:10
#144)

This pull request updates the ProGuard rules in the
`android/app/proguard-rules.pro` file to ensure proper functionality of
reflection, URL launcher, WebView, and JavaScript interfaces in the
Android app. The changes primarily focus on preserving specific classes
and methods from being removed or obfuscated during the build process.

### ProGuard Rule Updates:

* **Reflection Support**: Added rules to keep all class members used for
reflection to prevent runtime issues.
(`[android/app/proguard-rules.proR1-R40](diffhunk://#diff-09b2c99413460ebb90ea73560bea82a46996111028b6fbab31316433e58d42a8R1-R40)`)
* **URL Launcher**: Preserved classes related to the `url_launcher`
package, including `androidx.core` and `io.flutter.plugins.urllauncher`
classes, to ensure proper functionality.
(`[android/app/proguard-rules.proR1-R40](diffhunk://#diff-09b2c99413460ebb90ea73560bea82a46996111028b6fbab31316433e58d42a8R1-R40)`)
* **WebView and JavaScript Interfaces**: Added rules to keep
WebView-related classes, JavaScript interfaces, and their methods,
ensuring compatibility with WebView and JavaScript interactions.
(`[android/app/proguard-rules.proR1-R40](diffhunk://#diff-09b2c99413460ebb90ea73560bea82a46996111028b6fbab31316433e58d42a8R1-R40)`)
* **Custom Implementations**: Preserved all implementations of `b2.a`,
`b2.**`, and `j2.d` to maintain compatibility with custom logic.
(`[android/app/proguard-rules.proR1-R40](diffhunk://#diff-09b2c99413460ebb90ea73560bea82a46996111028b6fbab31316433e58d42a8R1-R40)`)
@ScreepCode ScreepCode requested review from Jozys and Copilot April 25, 2025 08:15
@ScreepCode ScreepCode self-assigned this Apr 25, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (1)
  • android/app/proguard-rules.pro: Language not supported

@ScreepCode ScreepCode merged commit a776b7d into main Apr 25, 2025
3 checks passed
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