Skip to content

add R8 instructions #600

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,8 @@
"/^\\s*```[\\s\\S]*?^\\s*```/gm",
"/.*enc:.*/",
"/.*enc6:.*/"
],
"words": [
"proguard"
]
}
2 changes: 2 additions & 0 deletions docs/sdk/android.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ As an alternative to Google Play Services, the SDK also optionally supports [Hua

The SDK currently supports API level `16` or above.

If you are building the app with R8, you may encounter `Missing classes detected while running R8` errors. This can be resolved by adding the autogenerated missing rules from `.../android/app/build/outputs/mapping/release/missing_rules.txt` to the `proguard` rules.

## Initialize SDK

When your app starts, in application `onCreate()`, initialize the SDK with your publishable API key, found on the [Settings page](https://radar.com/dashboard/settings).
Expand Down