Advertisement
Guest User

Untitled

a guest
Mar 13th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.90 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3. package="com.app">
  4.  
  5. <uses-permission android:name="android.permission.INTERNET" />
  6. <uses-permission android:name="android.permission.READ_PHONE_STATE" />
  7. <uses-permission android:name="android.permission.CAMERA" />
  8. <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  9. <uses-permission android:name="android.permission.READ_CONTACTS" />
  10.  
  11. <uses-feature android:name="android.permission.READ_PHONE_STATE" />
  12.  
  13. <application
  14. android:allowBackup="true"
  15. android:icon="@mipmap/ic_launcher"
  16. android:label="@string/app_name"
  17. android:supportsRtl="true"
  18. android:theme="@style/AppTheme">
  19. <meta-data
  20. android:name="com.google.firebase.messaging.default_notification_icon"
  21. android:resource="@mipmap/ic_notification" />
  22. <!--
  23. Set color used with incoming notification messages. This is used when no color is set for the incoming
  24. notification message. See README() for more.
  25. -->
  26. <meta-data
  27. android:name="com.google.firebase.messaging.default_notification_color"
  28. android:resource="@color/colorAccent" />
  29.  
  30. <activity
  31. android:name=".activities.LoginActivity"
  32. android:configChanges="orientation|screenSize"
  33. android:label="@string/title_activity_login"
  34. android:theme="@style/AppTheme.NoActionBar.White"
  35. android:windowSoftInputMode="adjustResize" />
  36. <activity
  37. android:name=".activities.OtpActivity"
  38. android:configChanges="orientation|screenSize"
  39. android:label="@string/title_activity_otp"
  40. android:theme="@style/AppTheme.NoActionBar.White"
  41. android:windowSoftInputMode="adjustResize" />
  42. <activity
  43. android:name=".activities.AddAadhaarActivity"
  44. android:configChanges="orientation|screenSize"
  45. android:label="@string/title_activity_pan_and_aadhaar"
  46. android:theme="@style/AppTheme.NoActionBar.White"
  47. android:windowSoftInputMode="adjustResize" />
  48. <activity
  49. android:name=".activities.AddPanActivity"
  50. android:configChanges="orientation|screenSize"
  51. android:label="@string/title_activity_pan_and_aadhaar"
  52. android:theme="@style/AppTheme.NoActionBar.White"
  53. android:windowSoftInputMode="adjustResize" />
  54. <activity
  55. android:name=".activities.HomeActivity"
  56. android:configChanges="orientation|screenSize"
  57. android:label="@string/app_name"
  58. android:theme="@style/AppTheme.NoActionBar.White.Home"
  59. android:windowSoftInputMode="adjustResize" />
  60. <activity
  61. android:name=".activities.InvitationsActivity"
  62. android:configChanges="orientation|screenSize"
  63. android:label="@string/app_name"
  64. android:theme="@style/AppTheme.NoActionBar.White.Home"
  65. android:windowSoftInputMode="adjustResize" />
  66. <activity
  67. android:name=".activities.PayNowActivity"
  68. android:configChanges="orientation|screenSize"
  69. android:label="@string/app_name"
  70. android:theme="@style/AppTheme.NoActionBar.White"
  71. android:windowSoftInputMode="adjustResize" />
  72. <activity
  73. android:name=".activities.PaymentSentActivity"
  74. android:configChanges="orientation|screenSize"
  75. android:label="@string/app_name"
  76. android:theme="@style/AppTheme.NoActionBar.White"
  77. android:windowSoftInputMode="adjustResize" />
  78. <activity
  79. android:name=".activities.CameraActivity"
  80. android:configChanges="orientation|screenSize"
  81. android:label="@string/app_name"
  82. android:theme="@style/AppTheme.NoActionBar.White"
  83. android:windowSoftInputMode="adjustResize" />
  84. <activity
  85. android:name=".activities.IntroductionActivity"
  86. android:configChanges="orientation|screenSize"
  87. android:label="@string/app_name"
  88. android:theme="@style/AppTheme.NoActionBar.FullScreen"
  89. android:windowSoftInputMode="adjustResize" />
  90. <activity
  91. android:name=".activities.SplashActivity"
  92. android:configChanges="orientation|screenSize"
  93. android:label="@string/app_name"
  94. android:screenOrientation="portrait"
  95. android:theme="@style/AppTheme.NoActionBar.Gradient">
  96. <intent-filter>
  97. <action android:name="android.intent.action.MAIN" />
  98.  
  99. <category android:name="android.intent.category.LAUNCHER" />
  100. </intent-filter>
  101. </activity>
  102.  
  103. <service android:name=".services.MessagingService">
  104. <intent-filter>
  105. <action android:name="com.google.firebase.MESSAGING_EVENT" />
  106. </intent-filter>
  107. </service>
  108. <service android:name=".services.InstanceIdService">
  109. <intent-filter>
  110. <action android:name="com.google.firebase.INSTANCE_ID_EVENT" />
  111. </intent-filter>
  112. </service>
  113.  
  114. </application>
  115.  
  116. </manifest>
  117.  
  118. apply plugin: 'com.android.application'
  119.  
  120. android {
  121. compileSdkVersion 25
  122. buildToolsVersion "25.0.2"
  123. defaultConfig {
  124. applicationId "com.app"
  125. minSdkVersion 15
  126. targetSdkVersion 25
  127. versionCode 5
  128. versionName "1.1.3"
  129. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  130. externalNativeBuild {
  131. cmake {
  132. cppFlags "-fexceptions"
  133. }
  134. }
  135. vectorDrawables.useSupportLibrary = true
  136. }
  137. buildTypes {
  138. release {
  139. minifyEnabled true
  140. shrinkResources true
  141. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  142. }
  143. }
  144. externalNativeBuild {
  145. cmake {
  146. path "CMakeLists.txt"
  147. }
  148. }
  149. }
  150.  
  151. dependencies {
  152. compile fileTree(dir: 'libs', include: ['*.jar'])
  153. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  154. exclude group: 'com.android.support', module: 'support-annotations'
  155. })
  156. compile project(':zxing-wrapper')
  157. compile 'com.android.support:appcompat-v7:25.2.0'
  158. compile 'com.android.support:design:25.2.0'
  159. compile 'com.android.support:cardview-v7:25.2.0'
  160. compile 'com.android.support:recyclerview-v7:25.2.0'
  161. compile 'com.android.volley:volley:1.0.0'
  162. compile 'com.google.firebase:firebase-core:10.2.0'
  163. compile 'com.google.firebase:firebase-crash:10.2.0'
  164. compile 'com.google.firebase:firebase-messaging:10.2.0'
  165. compile 'com.google.android.gms:play-services-base:10.2.0'
  166. compile 'com.google.android.gms:play-services-location:10.2.0'
  167. testCompile 'junit:junit:4.12'
  168. }
  169.  
  170. apply plugin: 'com.google.gms.google-services'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement