/** * This API is deprecated. * You should call onCreate instead of this API in Activity's onCreate(). * @param context */ @Deprecated public static void onStart(Context context) { onCreate(context); }
RateThisApp.onCreate(this); RateThisApp.showRateDialogIfNeeded(this);
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); prefManager = PreferenceManager.getDefaultSharedPreferences(this); onFirstInstall(); onFirstUpdate(); handleIntent(getIntent()); if (Utils.tempBool && getIntent().getStringExtra("uri") != null) uri = Uri.parse(getIntent().getStringExtra("uri")); // Custom condition: 5 days and 5 launches RateThisApp.Config config = new RateThisApp.Config(5, 5); RateThisApp.init(config); RateThisApp.onCreate(this); RateThisApp.showRateDialogIfNeeded(this); }
RateThisApp.onCreate(this);
RateThisApp.onCreate(this);