Skip to content

Commit

Permalink
Reverts #341 and instead adds that information in the README (#354)
Browse files Browse the repository at this point in the history
* Revert proguard rule

* Update README with information about proguard
  • Loading branch information
vinaygaba committed Sep 19, 2023
1 parent b6a35d4 commit 5586c35
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -142,6 +142,14 @@ class MyRootModule: ShowkaseRootModule
startActivity(Showkase.getBrowserIntent(context))
```

Most users of Showkase will use it in their debug builds. However, if you have a use case where you would
like to use Showkase in a release build (or a build that has minification enabled), you will need to add
the following line to your proguard rules

```
-keep public class * extends com.airbnb.android.showkase.models.ShowkaseProvider
```

## Documentation

##### 1. @ShowkaseComposable
Expand Down
2 changes: 1 addition & 1 deletion showkase/consumer-rules.pro
@@ -1 +1 @@
-keep public class * extends com.airbnb.android.showkase.models.ShowkaseProvider

0 comments on commit 5586c35

Please sign in to comment.