Android

The preferred way to include SDK in your app is directly through Gradle.

To do so add the following:

in project build.gradle
repositories {
                   ...
                    maven {
                        url "http://static.newton.pm/android/"
                    }
                }
in app build gradle
compile 'com.buongiorno:newton:[choose the specific version here]@aar'
and check if you are using these libraries
 //facebook activity
compile 'com.facebook.android:facebook-android-sdk:4.0.0'
//google play services
compile 'com.google.android.gms:play-services-gcm:8.3.0'
//ok3 http http connector
compile 'com.squareup.okhttp3:okhttp:3.0.1'

Available versions

Changelog

#V1.15.1
=======
* Added check for null pointer (early system.exit Bugfix)


#V1.15.0
=======
* Payment implementation
* Mobile fingerprint first release


#V1.14.0
=======
* Bugfix of timezone localized
* Bugfix android O
* Started refactor of project: build gradle


#V1.13.1
=======
* Changed jacoco plugin (test report)
* Minimal refactoring in EventQueue classes
* Bugfix for crash in OS on push receive if app in background


#V1.13.0
=======
* Push events normalization
* Added backward compatibility for GCM in play services 5 (legacy version)
* Bugfix: Null pointer if connection fails in A/B test

#V1.12.0
=======
* A/B Test ready
* Removed READ_PHONE_STATE permission: deviceID hash(ANDROID_ID) only
* Fallback behaviour if PushNotificationCallback not set.
  It will launch the Application's main activity.

#V1.11.1
========
* lazy initialization (to avoid multiple start session)
* check custom data weight before send it (also in start session) MAX BYTES SIZE: 10K
* check custom data string properties length and resizing to max CHAR 512
* unified NewtonStatus and NewtonToken classes

#V1.10.1
========
* Pause/Resume heartbeat event on application background/foreground
* Resolved bug in race condition (push registration wit login)

#V1.10.0
========

#V1.9.1
=======