Skip to content

jamesjara/satismeter-android

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

SatisMeter Android SDK

Download License

SatisMeter is mobile and web platform for collecting customer feedback, based on Net Promoter Score. This package contains a survey widget that can be easily integrated into any Android application.

Requirements

  • Min Android SDK version: 16+

Installation

SatisMeter is available through jcenter. jCenter is the default Maven repository used by Android Studio.

Installation via Gradle

Open the build.gradle file of your app and find the dependencies block. Add the following line:

 compile 'com.satismeter:SatisMeter:1.2.0'

Usage

Registration

First of all you should create your account in https://satismeter.com

Identify user

Add the following code to the onCreate method in your activity:

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        HashMap<String, Object> traits = new HashMap();
        traits.put("name", "James HetfieldX");
        traits.put("email", "[email protected]");
        traits.put("createdAt", "1963-08-03T00:00:00.000Z");

        SatisMeter.identify(this, "WRITE_KEY", "USER_ID", traits);
    }
}

Replace the WRITE_KEY with the one found in SatisMeter settings / Integrations / API Keys.

Replace USER_ID with the ones of the currently logged-in user.

Author

SatisMeter, https://satismeter.com

License

satismeter-android SDK is available under the MIT license. See the LICENSE file for more info.

About

SatisMeter NPS Android SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published