Skip to content

Commit

Permalink
Merge remote-tracking branch 'github/master' into gob-master
Browse files Browse the repository at this point in the history
Change-Id: I6523cbcf8dfe90308310471a98eea82ef645cb3e
  • Loading branch information
samtstern committed Jun 7, 2017
2 parents 61e4f75 + 5d7953d commit 1e32ec4
Show file tree
Hide file tree
Showing 28 changed files with 759 additions and 193 deletions.
2 changes: 1 addition & 1 deletion admob/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dependencies {
compile 'com.android.support:appcompat-v7:25.3.1'

// [START gradle_play_config]
compile 'com.google.firebase:firebase-ads:10.2.6'
compile 'com.google.firebase:firebase-ads:11.0.0'
// [END gradle_play_config]

androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
Expand Down
2 changes: 1 addition & 1 deletion analytics/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ dependencies {
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:support-v4:25.3.1'

compile 'com.google.firebase:firebase-analytics:10.2.6'
compile 'com.google.firebase:firebase-analytics:11.0.0'

androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
androidTestCompile 'com.android.support.test:runner:0.5'
Expand Down
3 changes: 2 additions & 1 deletion app-indexing/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ configurations.all {

dependencies {
// [START app_indexing_gradle_dep]
compile 'com.google.firebase:firebase-appindexing:10.2.6'
compile 'com.google.firebase:firebase-appindexing:11.0.0'
// [END app_indexing_gradle_dep]

compile 'com.android.support:support-v4:25.3.1'
compile 'com.android.support:appcompat-v7:25.3.1'

Expand Down
8 changes: 8 additions & 0 deletions auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ Getting Started
- Select **EmailPasswordActivity** from the main screen.
- Fill in your desired email and password and click **Create Account** to begin.

### Phone Authentication Setup

- Go to the [Firebase Console](https://console.firebase.google.com) and navigate to your project:
- Select the **Auth** panel and then click the **Sign In Method** tab.
- Click **Phone** and turn on the **Enable** switch, then click **Save**.
- Run the app on your device or emulator.
- Select **PhoneAuthActivity** from the main screen.
- Enter your phone numeber and click **Verify** to begin.

### Custom Authentication Setup

Expand Down
8 changes: 6 additions & 2 deletions auth/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,16 @@ configurations.all {

dependencies {
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:animated-vector-drawable:25.3.1'
compile 'com.android.support:cardview-v7:25.3.1'
compile 'com.android.support:customtabs:25.3.1'
compile 'com.android.support:design:25.3.1'

// Firebase Authentication
compile 'com.google.firebase:firebase-auth:10.2.6'
compile 'com.google.firebase:firebase-auth:11.0.0'

// Google Sign In SDK (only required for Google Sign In)
compile 'com.google.android.gms:play-services-auth:10.2.6'
compile 'com.google.android.gms:play-services-auth:11.0.0'

// Firebase UI
// Used in FirebaseUIActivity. The FirebaseUI-Android library has a minSdk level of 16
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void anonymousSignInTest() {

// Make sure userID and email look right
String idString = mActivityTestRule.getActivity().getString(R.string.id_fmt, "");
String emailString = mActivityTestRule.getActivity().getString(R.string.email_fmt, null);
String emailString = mActivityTestRule.getActivity().getString(R.string.email_fmt, "");

onView(withText(startsWith(idString)))
.check(matches(isDisplayed()));
Expand Down
7 changes: 5 additions & 2 deletions auth/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
android:name=".EmailPasswordActivity"
android:label="@string/label_emailpassword"
android:windowSoftInputMode="stateAlwaysHidden" />
<activity
android:name=".PhoneAuthActivity"
android:label="@string/label_phone_auth"></activity>
<activity
android:name=".AnonymousAuthActivity"
android:label="@string/label_anonymous_auth" />
Expand All @@ -38,7 +41,7 @@
android:label="@string/label_twitter_login" />
<activity
android:name=".FirebaseUIActivity"
android:label="@string/label_firebase_ui"/>
android:label="@string/label_firebase_ui" />
</application>

</manifest>
</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
* {@link FacebookLoginActivity}
* {@link TwitterLoginActivity}
* {@link EmailPasswordActivity}
* {@link PhoneAuthActivity}
* {@link AnonymousAuthActivity}
* {@link CustomAuthActivity}
*/
Expand All @@ -46,6 +47,7 @@ public class ChooserActivity extends AppCompatActivity implements AdapterView.On
FacebookLoginActivity.class,
TwitterLoginActivity.class,
EmailPasswordActivity.class,
PhoneAuthActivity.class,
AnonymousAuthActivity.class,
FirebaseUIActivity.class,
CustomAuthActivity.class
Expand All @@ -56,6 +58,7 @@ public class ChooserActivity extends AppCompatActivity implements AdapterView.On
R.string.desc_facebook_login,
R.string.desc_twitter_login,
R.string.desc_emailpassword,
R.string.desc_phone_auth,
R.string.desc_anonymous_auth,
R.string.desc_firebase_ui,
R.string.desc_custom_auth,
Expand Down
Loading

0 comments on commit 1e32ec4

Please sign in to comment.