| 1 |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" > |
| 2 |
<#if includeGooglePlus> |
| 3 |
<!-- To access Google+ APIs: --> |
| 4 |
<uses-permission android:name="android.permission.INTERNET" /> |
| 5 |
|
| 6 |
<!-- To retrieve OAuth 2.0 tokens or invalidate tokens to disconnect a user. This disconnect |
| 7 |
option is required to comply with the Google+ Sign-In developer policies --> |
| 8 |
<uses-permission android:name="android.permission.USE_CREDENTIALS" /> |
| 9 |
|
| 10 |
<!-- To retrieve the account name (email) as part of sign-in: --> |
| 11 |
<uses-permission android:name="android.permission.GET_ACCOUNTS" /></#if> |
| 12 |
|
| 13 |
<!-- To auto-complete the email text field in the login form with the user's emails --><#if !includeGooglePlus> |
| 14 |
<uses-permission android:name="android.permission.GET_ACCOUNTS" /></#if> |
| 15 |
<uses-permission android:name="android.permission.READ_PROFILE" /> |
| 16 |
<uses-permission android:name="android.permission.READ_CONTACTS" /> |
| 17 |
|
| 18 |
<application> |
| 19 |
<activity android:name=".${activityClass}" |
| 20 |
<#if isNewProject> |
| 21 |
android:label="@string/app_name" |
| 22 |
<#else> |
| 23 |
android:label="@string/title_${simpleName}" |
| 24 |
</#if> |
| 25 |
android:windowSoftInputMode="adjustResize|<#if includeGooglePlus>stateHidden<#else>stateVisible</#if>" |
| 26 |
<#if buildApi gte 16 && parentActivityClass != "">android:parentActivityName="${parentActivityClass}"</#if>> |
| 27 |
<#if parentActivityClass != ""> |
| 28 |
<meta-data android:name="android.support.PARENT_ACTIVITY" |
| 29 |
android:value="${parentActivityClass}" /> |
| 30 |
</#if> |
| 31 |
</activity> |
| 32 |
<#if includeGooglePlus> |
| 33 |
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> |
| 34 |
</#if> |
| 35 |
</application> |
| 36 |
|
| 37 |
</manifest> |