1
0
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:
Thomas
2020-10-10 15:33:25 +02:00
parent 0127b9bffa
commit 6108bd143c
2 changed files with 9 additions and 1 deletions

View File

@@ -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() {