mirror of
https://framagit.org/tom79/fedilab-tube
synced 2025-06-05 21:09:11 +02:00
App rater for Google Full version
This commit is contained in:
@@ -36,6 +36,7 @@ import androidx.fragment.app.Fragment;
|
||||
import androidx.fragment.app.FragmentManager;
|
||||
|
||||
import com.google.android.material.bottomnavigation.BottomNavigationView;
|
||||
import com.kobakei.ratethisapp.RateThisApp;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@@ -245,6 +246,11 @@ public class MainActivity extends AppCompatActivity {
|
||||
}
|
||||
startInForeground();
|
||||
|
||||
if(BuildConfig.google_restriction && BuildConfig.full_instances) {
|
||||
RateThisApp.onCreate(this);
|
||||
RateThisApp.showRateDialogIfNeeded(this);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void startInForeground() {
|
||||
|
Reference in New Issue
Block a user