Skip to content

Commit 4f9307e

Browse files
authored
Update proguard troubleshooting guide (#281)
1 parent e64cd49 commit 4f9307e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

fern/docs/pages/sdks/mobile/android/troubleshooting.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,17 @@
1111

1212
- **Issue**: Not receiving push notifications.
1313
**Solution**: Ensure that your app is configured to receive push notifications and that your device is registered with the DevRev SDK.
14+
15+
## Proguard
16+
17+
- **Issue**: Missing class `com.google.android.play.core.splitcompat.SplitCompatApplication`.
18+
**Solution**: Add the following line to your `proguard-rules.pro` file: `-dontwarn com.google.android.play.core.**`.
19+
20+
- **Issue**: Missing class issue due to transitive Flutter dependencies.
21+
**Solution**: Add the following lines to your `proguard-rules.pro` file:
22+
```bash
23+
-keep class io.flutter.** { *; }
24+
-keep class io.flutter.plugins.** { *; }
25+
-keep class GeneratedPluginRegistrant { *; }
26+
```
27+

0 commit comments

Comments
 (0)