Advertisement
Guest User

Untitled

a guest
Apr 19th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.73 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest package="com.hendyghsta.bacameter"
  3. xmlns:android="http://schemas.android.com/apk/res/android">
  4.  
  5. <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="25"/>
  6.  
  7. <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
  8. <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
  9. <uses-permission android:name="android.permission.INTERNET"/>
  10. <uses-permission android:name="android.permission.CAMERA"/>
  11. <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
  12. <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
  13. <uses-permission android:name="android.permission.FLASHLIGHT"/>
  14. <uses-permission android:name="android.permission.VIBRATE"/>
  15.  
  16. <uses-feature
  17. android:name="android.hardware.camera"
  18. android:required="false"/>
  19. <uses-feature
  20. android:name="android.hardware.camera2.full"
  21. android:required="false"/>
  22. <uses-feature
  23. android:name="android.hardware.camera.autofocus"
  24. android:required="false"/>
  25. <uses-feature
  26. android:name="android.hardware.location"
  27. android:required="false"/>
  28. <uses-feature
  29. android:glEsVersion="0x00020000"
  30. android:required="false"/>
  31.  
  32. <application
  33. android:name=".common.App"
  34. android:allowBackup="true"
  35. android:icon="@mipmap/ic_launcher"
  36. android:label="@string/app_name"
  37. android:supportsRtl="true"
  38. android:theme="@style/Theme.AppTheme">
  39. <activity android:name=".activity.LoginActivity">
  40. </activity>
  41. <activity android:name=".activity.TesterActivity">
  42. </activity>
  43. <activity android:name=".activity.SplashActivity">
  44. <intent-filter>
  45. <action android:name="android.intent.action.MAIN"/>
  46.  
  47. <category android:name="android.intent.category.LAUNCHER"/>
  48. </intent-filter>
  49. </activity>
  50. <activity
  51. android:name=".activity.ScanActivity"
  52. android:parentActivityName=".activity.MainActivity"
  53. android:screenOrientation="portrait">
  54. </activity>
  55. <activity
  56. android:name=".activity.ResultActivity"
  57. android:label="Input Result"
  58. android:parentActivityName=".activity.MainActivity"
  59. android:theme="@style/Theme.AppTheme">
  60. </activity>
  61. <activity
  62. android:name=".activity.MainActivity"
  63. android:label="Pembaca Meter"
  64. android:theme="@style/Theme.AppTheme">
  65. </activity>
  66. <activity
  67. android:name=".activity.SettingActivity"
  68. android:label="Pengaturan"
  69. android:theme="@style/Theme.AppTheme">
  70. </activity>
  71. <activity
  72. android:name="com.afollestad.materialcamera.CaptureActivity"
  73. android:theme="@style/MaterialCamera.CaptureActivity"/>
  74. <activity
  75. android:name="com.afollestad.materialcamera.CaptureActivity2"
  76. android:theme="@style/MaterialCamera.CaptureActivity"/>
  77.  
  78. <service
  79. android:name=".common.UploadService"
  80. android:permission="android.permission.BIND_JOB_SERVICE"/>
  81.  
  82. <activity
  83. android:name=".activity.LogActivity"
  84. android:parentActivityName=".activity.MainActivity"
  85. android:theme="@style/Theme.AppTheme">
  86. <meta-data
  87. android:name="android.support.PARENT_ACTIVITY"
  88. android:value=".activity.MainActivity"/>
  89. </activity>
  90.  
  91. <meta-data
  92. android:name="com.google.android.geo.API_KEY"
  93. android:value="@string/google_maps_key"/>
  94. <meta-data
  95. android:name="com.google.android.gms.version"
  96. android:value="@integer/google_play_services_version"/>
  97.  
  98. <activity
  99. android:name=".activity.MapsActivity"
  100. android:label="@string/title_activity_maps"
  101. android:parentActivityName=".activity.MainActivity"
  102. android:theme="@style/Theme.AppTheme">
  103. <meta-data
  104. android:name="android.support.PARENT_ACTIVITY"
  105. android:value=".activity.MainActivity"/>
  106. </activity>
  107.  
  108. <meta-data
  109. android:name="io.fabric.ApiKey"
  110. android:value="1a08fa3d26a213711d27e37e3d98f07af86eb1ab"/>
  111.  
  112. <service android:name=".account.MyFirebaseMessagingService">
  113. <intent-filter>
  114. <action android:name="com.google.firebase.MESSAGING_EVENT"/>
  115. </intent-filter>
  116. </service>
  117. <service android:name=".account.FirebaseIDService">
  118. <intent-filter>
  119. <action android:name="com.google.firebase.INSTANCE_ID_EVENT"/>
  120. </intent-filter>
  121. </service>
  122.  
  123. <activity android:name=".activity.PesanActivity" android:theme="@style/Theme.AppTheme">
  124. </activity>
  125.  
  126. <activity android:name=".activity.BarcodeActivity" android:theme="@style/Theme.AppTheme" >
  127. </activity>
  128.  
  129. <receiver
  130. android:name=".common.ConnectivityReceiver"
  131. android:enabled="true">
  132. <intent-filter>
  133. <action android:name="android.net.conn.CONNECTIVITY_CHANGE"/>
  134. </intent-filter>
  135. </receiver>
  136.  
  137. </application>
  138.  
  139. </manifest>
  140.  
  141. apply plugin: 'com.android.application'
  142. apply plugin: 'io.fabric'
  143. apply plugin: 'android-apt'
  144. apply plugin: 'realm-android'
  145.  
  146.  
  147. android {
  148. compileSdkVersion 25
  149. buildToolsVersion "25.0.2"
  150. defaultConfig {
  151. applicationId "com.hendyghsta.bacameter"
  152. minSdkVersion 21
  153. targetSdkVersion 25
  154. versionCode 6
  155. versionName "3.0.3"
  156. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  157. }
  158.  
  159. signingConfigs {
  160. config {
  161. keyAlias 'androiddebugkey'
  162. keyPassword 'android'
  163. storeFile file('C:/Users/Acer/.android/debug.keystore')
  164. storePassword 'android'
  165. }
  166. }
  167.  
  168. buildTypes {
  169. debug {
  170. minifyEnabled false
  171. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  172. }
  173. release {
  174. minifyEnabled true
  175. shrinkResources true
  176. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  177. signingConfig signingConfigs.config
  178. }
  179. }
  180.  
  181.  
  182. packagingOptions {
  183. //exclude 'META-INF/DEPENDENCIES'
  184. //exclude 'META-INF/LICENSE'
  185.  
  186. // exclude 'AndroidManifest.xml'
  187. exclude 'lib/arm64-v8a/librealm-jni.so'
  188. exclude 'lib/mips/librealm-jni.so'
  189. exclude 'lib/x86/librealm-jni.so'
  190. exclude 'lib/x86_64/librealm-jni.so'
  191.  
  192. exclude 'lib/x86/libopencv_java3.so'
  193. exclude 'lib/x86/libanylineCore.so'
  194. exclude 'lib/x86/libgnustl_shared.so'
  195. }
  196. }
  197.  
  198. repositories {
  199. flatDir {
  200. dirs 'libs'
  201. }
  202. maven { url "https://s3.amazonaws.com/repo.commonsware.com" }
  203. maven { url "https://dl.bintray.com/drummer-aidan/maven" }
  204. maven { url "https://jitpack.io" }
  205. maven { url 'https://maven.fabric.io/public' }
  206. }
  207.  
  208. dependencies {
  209. compile fileTree(include: ['*.jar'], dir: 'libs')
  210. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  211. exclude group: 'com.android.support', module: 'support-annotations'
  212. })
  213. compile(name: 'anylinesdk-3.8.1', ext: 'aar')
  214. compile project(':mcamera')
  215. compile('com.crashlytics.sdk.android:crashlytics:2.6.7@aar') {
  216. transitive = true;
  217. }
  218. compile('com.pubnub:pubnub-android:3.7.14@aar') {
  219. transitive = true;
  220. }
  221. compile('io.fabric.sdk.android:fabric:1.3.10@aar') {
  222. transitive = true;
  223. }
  224. compile 'com.android.support:appcompat-v7:25.2.0'
  225. compile 'com.android.support:support-v13:25.2.0'
  226. compile 'com.android.support:support-v4:25.2.0'
  227. compile 'com.android.support:design:25.2.0'
  228. compile 'com.android.support:cardview-v7:25.2.0'
  229. compile 'com.google.code.gson:gson:2.7'
  230. compile 'com.squareup.retrofit2:retrofit:2.1.0'
  231. compile 'com.squareup.retrofit2:converter-gson:2.1.0'
  232. compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
  233. compile 'com.squareup.okhttp3:okhttp:3.4.1'
  234. compile 'com.squareup.okhttp3:logging-interceptor:3.0.1'
  235. compile 'io.reactivex:rxjava:1.1.3'
  236. compile 'com.artemzin.rxjava:proguard-rules:1.1.3.0'
  237. compile 'io.reactivex:rxandroid:1.2.1'
  238. compile 'org.glassfish:javax.annotation:10.0-b28'
  239. compile 'com.jakewharton:butterknife:8.4.0'
  240. compile 'com.github.bumptech.glide:glide:3.7.0'
  241. compile 'com.squareup:otto:1.3.8'
  242. compile 'net.gotev:uploadservice-ftp:3.2.3'
  243. compile 'com.balysv:material-ripple:1.0.2'
  244. compile 'com.afollestad.material-dialogs:core:0.9.1.0'
  245. compile 'com.rengwuxian.materialedittext:library:2.1.4'
  246. compile 'uk.co.chrisjenx:calligraphy:2.2.0'
  247. compile 'jp.wasabeef:recyclerview-animators:2.2.5'
  248. compile 'com.github.PhilJay:MPAndroidChart:v2.2.4'
  249. compile 'com.github.rey5137:material:1.2.4'
  250. compile 'com.robinhood.ticker:ticker:1.1.1'
  251. compile 'com.orhanobut:dialogplus:1.11@aar'
  252. compile 'com.google.android.gms:play-services-vision:10.2.0'
  253. compile 'com.google.android.gms:play-services-location:10.2.0'
  254. compile 'com.google.maps.android:android-maps-utils:0.4.4'
  255. compile 'me.dm7.barcodescanner:zbar:1.8.4'
  256. compile 'com.android.support.constraint:constraint-layout:1.0.1'
  257. compile 'com.google.android.gms:play-services-maps:10.2.0'
  258. compile 'com.google.firebase:firebase-messaging:10.2.0'
  259. compile 'com.google.firebase:firebase-core:10.2.0'
  260. compile 'io.realm:android-adapters:1.4.0'
  261. testCompile 'junit:junit:4.12'
  262. apt 'com.jakewharton:butterknife-compiler:8.4.0'
  263. }
  264.  
  265. apply plugin: 'com.google.gms.google-services'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement