14 Commits

Author SHA1 Message Date
Sergey Akhalkov
32f82e6050 Fix dex index overflow exception (#1007)
fix DexIndexOverflowException due to com.auth0.jwt #1002

use another lib - nimbus-jose-jwt
2017-09-18 12:49:16 +03:00
Ruslan Bikkinin
5e332bbe83 Implement code signing for client android SDK (#966)
* Add new optional way to create CodePush instance based on builder pattern
Add constructor with additional option PublicKeyFilePath

* Adapt changes from old code-signing branch

Add `com.auth0:java-jwt:3.2.0` to deps
Adapt changes from code-signing branch
Fix errors appeared due to jwt library update.

* Non-breaking change of CodePush constructor, downgrade jwt library

Replace publicKey by publicKeyResourceDescriptor in CodePush constructor
Downgrade jwt library to 2.2.2 due to issue with base64 decoding

* Make code signing optional

* Add small improvements

Replace CodePushUnknownException catch with
CodePushInvalidPublicKeyException in certain places
Make mPublicKey static
Add additional log for applying updates

* Rename method verifyJWT with verifyAndDecodeJWT

* Add minor fixes

Add additional checking for potential problems with code-signing
integration
Fix Public Key parsing from strings.xml

* Fix constructors

* Fix constructors bug

* Fix log messages
2017-09-13 12:08:17 +03:00
Sergey Akhalkov
1c5f4a1a15 build.gradle: set Android SDK Build Tools version to 23.0.1 (#747)
`react-native-code-push@1.17.1-beta` release introduces Android SDK Build Tools inconsistency between React Native app and react-native-code-push Module.
It's convenient to have the same version of Android SDK Build Tools both for React Native app and react-native-code-push module, due to https://github.com/facebook/react-native/pull/11422#issuecomment-266814770
2017-03-08 00:53:11 +03:00
BO KANG
cf4c72cc4e revert back the android API bundle support from 25 to 23 2017-03-03 12:22:33 -08:00
Ray Vafa
4180f9cd6c Update Android SDK to 25.0.2 (#725) 2017-02-27 17:48:43 -08:00
Christian Meunier
73f0984689 Update Android SDK to 23.0.3 (#710)
Fixes #709
2017-02-21 18:06:11 -08:00
Martin Konicek
ae0d35244f [Android] Let npm take care of versioning (#589) 2016-11-11 17:52:10 -08:00
Ian Grayson
167eabd289 Proguard rules 2016-08-25 15:50:23 -07:00
Jonathan Carter
3f77c66c4c Clean up gradle file 2016-07-05 08:46:17 -07:00
Geoffrey Goh
11a0a9e288 Update build.gradle 2016-07-01 10:50:58 -07:00
Geoffrey Goh
38a52dc7a6 0.29 compat + refactoring android (#398)
0.29 compat
2016-06-27 09:27:31 -07:00
Jonathan Carter
3b44625edc Removing the NDK section from our build.gradle file 2016-02-09 15:09:09 -08:00
Geoffrey Goh
71fb32f952 disable metrics in debug 2016-02-02 13:36:10 -08:00
Geoffrey Goh
25e3eb67f3 android support 2015-11-23 12:02:01 -08:00