Skip to content

Commit

Permalink
Add note on Android Proguard settings in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktuukkan committed Dec 14, 2021
1 parent 3ba88f5 commit 41f8da2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,17 @@ SentenceFactory sf = SentenceFactory.getInstance();
GSASentence gsa = (GSASentence) sf.createParser(nmea);
```

Recommended Android Proguard settings when `minifyEnabled` is set `true`:

```
-keep class net.sf.marineapi.** { *; }
-keep interface net.sf.marineapi.** { *; }
-keepattributes MethodParameters
-dontwarn gnu.io.CommPortIdentifier
-dontwarn gnu.io.RXTXPort
-dontwarn gnu.io.SerialPort
```

See also:
- [Examples](src/main/java/net/sf/marineapi/example)
- [Javadocs](http://www.javadoc.io/doc/net.sf.marineapi/marineapi)
Expand Down

0 comments on commit 41f8da2

Please sign in to comment.