This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
implementation 'com.google.android.gms:play-services-auth:17.0.0' | |
implementation 'com.google.firebase:firebase-auth:19.2.0' | |
<uses-permission android:name="android.permission.INTERNET"/> | |
// Initialize Firebase Auth | |
FirebaseAuth mAuth; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
implementation 'com.google.android.gms:play-services-auth:17.0.0' | |
implementation 'com.google.firebase:firebase-auth:19.2.0' | |
<uses-permission android:name="android.permission.INTERNET"/> | |
private FirebaseAuth mAuth; | |
mAuth = FirebaseAuth.getInstance(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
implementation 'com.google.firebase:firebase-ml-vision:18.0.1' | |
implementation 'com.google.firebase:firebase-ml-vision-face-model:17.0.2' | |
<meta-data | |
android:name="com.google.firebase.ml.vision.DEPENDENCIES" | |
android:value="face" /> | |
// To initialise the detector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
implementation 'com.google.firebase:firebase-ml-vision:18.0.1' | |
<meta-data | |
android:name="com.google.firebase.ml.vision.DEPENDENCIES" | |
android:value="barcode" /> | |
// To initialise the detector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Make HTTP Calls | |
implementation 'com.squareup.retrofit2:retrofit:2.3.0' | |
// Used to convert Java Objects into their JSON | |
implementation 'com.squareup.retrofit2:converter-gson:2.3.0' | |
public class UserDetails { | |
private Details details; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To get the version code from the auto generated file | |
final int versionCode = BuildConfig.VERSION_CODE; | |
// Hashmap which contains the default values for all the parameter defined in the remote config server | |
final HashMap<String, Object> defaultMap = new HashMap<>(); | |
defaultMap.put(FB_RC_KEY_TITLE, "Update Available"); | |
defaultMap.put(FB_RC_KEY_DESCRIPTION, "A new version of the application is available please click below to update the latest version."); | |
defaultMap.put(FB_RC_KEY_FORCE_UPDATE_VERSION, ""+versionCode); | |
defaultMap.put(FB_RC_KEY_LATEST_VERSION, ""+versionCode); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.droidmentor.chromecustomtab; | |
import android.app.PendingIntent; | |
import android.content.Intent; | |
import android.graphics.BitmapFactory; | |
import android.net.Uri; | |
import android.os.Bundle; | |
import android.support.customtabs.CustomTabsIntent; | |
import android.support.v4.content.res.ResourcesCompat; | |
import android.support.v7.app.AppCompatActivity; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<activity | |
android:name=".SplashActivity" | |
android:theme="@style/splash_theme" | |
android:screenOrientation="portrait"> | |
<intent-filter> | |
<action android:name="android.intent.action.MAIN" /> | |
<category android:name="android.intent.category.LAUNCHER" /> | |
</intent-filter> | |
</activity> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'com.jfrog.bintray' | |
version = libraryVersion | |
if (project.hasProperty("android")) { // Android libraries | |
task sourcesJar(type: Jar) { | |
classifier = 'sources' | |
from android.sourceSets.main.java.srcDirs | |
} |
NewerOlder