How to upgrade ubuntu 16.04 LTS to 18.04 LTS

I am facing issues in upgrading ubuntu from 16.04 LTS to 18.04 LTS. I followed all online sources but could not pass through the initial stages Got the following error when I tried from the terminal $ /usr/lib/ubuntu-release-upgrader/check-new-release-gtk /usr/lib/ubuntu-release-upgrader/check-new-release-gtk:30: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version(‘Gtk’, ‘3.0’) before import to ensure…

Details

Allow authenticated users only to access any activity using Firebase Authentication in Android

I am developing an app by using Firebase Authentication. In my app all activities should be accessed by an authenticated user only. To do this I have this portion of code in all my activities: firebaseAuthStateListener = new FirebaseAuth.AuthStateListener() { @Override public void onAuthStateChanged(@NonNull FirebaseAuth firebaseAuth) { // If user is logged out, bring him…

Details