This library allows you to integrate Viafoura tools into a native Android app.
Add the following line to your app level build.gradle
implementation 'com.viafoura:android:1.1.4'
Please follow the official Viafoura Android SDK documentation.
- Create an
Application
class for your app. - Initialize the SDK in the
onCreate()
. Make sure to replace SITE_UUID and SITE_DOMAIN with the values corresponding to your domain.
public class MyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
ViafouraSDK.initialize(getApplicationContext(), "SITE_UUID", "SITE_DOMAIN");
}
}