diff options
author | marcinzelent <zelent.marcin@gmail.com> | 2018-04-25 13:34:54 +0200 |
---|---|---|
committer | marcinzelent <zelent.marcin@gmail.com> | 2018-04-25 13:34:54 +0200 |
commit | 4de306375a33b2abd067e65658a46d45cba5e56e (patch) | |
tree | 00a734df4dcd1d94d0916eee6a6cc1cd98aafa7d /app/src/main/AndroidManifest.xml | |
parent | 3812f6ccf9d5796f25f81aeea942c25b58296d01 (diff) |
Added Firebase authentication
Diffstat (limited to 'app/src/main/AndroidManifest.xml')
-rw-r--r-- | app/src/main/AndroidManifest.xml | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index d503607..5639a98 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -6,6 +6,11 @@ <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> + <!-- To auto-complete the email text field in the login form with the user's emails --> + <uses-permission android:name="android.permission.GET_ACCOUNTS" /> + <uses-permission android:name="android.permission.READ_PROFILE" /> + <uses-permission android:name="android.permission.READ_CONTACTS" /> + <application android:allowBackup="false" android:icon="@mipmap/ic_launcher" @@ -18,23 +23,29 @@ android:name=".MainActivity" android:label="@string/title_activity_main" android:theme="@style/AppTheme.NoActionBar"> - <intent-filter> - <action android:name="android.intent.action.MAIN" /> - - <category android:name="android.intent.category.LAUNCHER" /> - </intent-filter> </activity> <activity android:name=".SettingsActivity" android:label="@string/title_activity_settings" /> <activity android:name=".ObservationDetailsActivity" - android:label="@string/observation_details"/> + android:label="@string/observation_details" /> <activity android:name=".NewObservationActivity" android:label="@string/title_activity_new_observation" android:theme="@style/AppTheme" /> <activity android:name=".BirdPickerActivity" /> + <activity + android:name=".LoginActivity" + android:label="@string/title_activity_login" + android:theme="@style/AppTheme.NoActionBar"> + <intent-filter> + <action android:name="android.intent.action.MAIN" /> + <category android:name="android.intent.category.LAUNCHER" /> + </intent-filter> + </activity> + <activity android:name=".SignupActivity" /> + <activity android:name=".ResetPasswordActivity"></activity> </application> </manifest>
\ No newline at end of file |