Skip to content

Commit

Permalink
fix: update hybrid android guide to fix hash mismatch issue
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanoltman committed Sep 9, 2024
1 parent 5c8a809 commit 2d5da1e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/content/docs/guides/hybrid-apps/android.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,16 @@ versions of Flutter that Shorebird supports.
In `app/build.gradle`, add the following:

```diff
buildTypes {
release {
// ...
+ // Necessary to ensure the libapp.so produced by Shorebird matches the one that ends up
+ // in the APK.
+ packaging.jniLibs.keepDebugSymbols.add("**/libapp.so")
// ...
}
}

dependencies {
// ...
+ releaseImplementation 'com.example.my_flutter_module:flutter_release:1.0'
Expand Down

0 comments on commit 2d5da1e

Please sign in to comment.