app/src/main/AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="ch.epfl.sweng.studdybuddy">
<!--
The ACCESS_COARSE/FINE_LOCATION permissions are not required to use
Google Maps Android API v2, but you must specify either coarse or fine
location permissions for the 'MyLocation' functionality.
-->
<permission
android:name="ch.epfl.sweng.studdybuddy.permission.MAPS_RECEIVE"
android:protectionLevel="signature" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:name=".util.StudyBuddy"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".auth.GoogleSignInActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="ch.epfl.sweng.studdybuddy_TARGET_NOTIFICATION"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<activity
android:name=".activities.GroupsActivity"
android:parentActivityName=".activities.MainActivity">
<!-- The meta-data tag is required if you support API level 15 and lower -->
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".activities.MainActivity" />
</activity>
<activity
android:name=".activities.CreateGroupActivity"
android:parentActivityName=".activities.GroupsActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".activities.GroupsActivity" />
</activity>
<activity
android:name=".activities.CourseSelectActivity"
android:parentActivityName=".activities.MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".activities.CourseSelectActivity" />
</activity>
<activity
android:name=".activities.ChatActivity"
android:parentActivityName=".activities.MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".activities.NavigationActivity" />
</activity>
<activity android:name=".activities.ProfileTab" />
<activity android:name=".auth.DummyGoogleSignInActivity" />
<activity android:name=".auth.DummyMainActivity" />
<activity android:name=".activities.MainActivity" />
<activity android:name=".activities.group.meetings.MeetingsActivity" />
<activity android:name=".activities.group.ConnectedCalendarActivity" />
<activity android:name=".activities.group.GroupInfoActivity" />
<activity
android:name=".activities.group.GroupActivity"
android:parentActivityName=".activities.NavigationActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".activities.NavigationActivity" />
</activity>
<activity android:name=".activities.NavigationActivity" />
<!--
The API key for Google Maps-based APIs is defined as a string resource.
(See the file "res/values/google_maps_api.xml").
Note that the API key is linked to the encryption key used to sign the APK.
You need a different API key for each encryption key, including the release key that is used to
sign the APK for publishing.
You can define the keys for the debug and release targets in src/debug/ and src/release/.
-->
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="@string/google_maps_key" />
<activity android:name=".activities.DummyChatActivity"/>
<activity
android:name=".activities.group.MapsActivity"
android:label="@string/title_activity_maps"/>
<activity android:name=".activities.group.meetings.CreateMeetingActivity"
android:parentActivityName=".activities.group.GroupActivity">
<!-- The meta-data tag is required if you support API level 15 and lower -->
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".activities.group.GroupActivity" />
</activity>
<activity
android:name=".activities.AddFriendsActivity"
android:parentActivityName=".activities.MainActivity">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".activities.AddFriendsActivity" />
</activity>
<activity
android:name=".activities.group.InviteFriendsActivity"
android:label="@string/title_activity_invite_friends">
</activity>
<service android:name=".services.notifications.MyFirebaseMessaging"
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="com.google.firebase.MESSAGING_EVENT"/>
</intent-filter>
</service>
</application>
</manifest>