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.
- Min Android SDK version: 16+
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'
First of all you should create your account in https://satismeter.com
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", "james.hetfield@metallica.com");
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.
SatisMeter, https://satismeter.com
satismeter-android SDK is available under the MIT license. See the LICENSE file for more info.