├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── samples ├── AccountKitSample │ ├── src │ │ ├── main │ │ │ ├── res │ │ │ │ ├── drawable-hdpi │ │ │ │ │ ├── dog.jpg │ │ │ │ │ ├── bicycle.jpg │ │ │ │ │ ├── reverb_icon.png │ │ │ │ │ ├── reverb_email.png │ │ │ │ │ ├── reverb_error.png │ │ │ │ │ ├── reverb_checkmark.png │ │ │ │ │ ├── reverb_arrow_purple.png │ │ │ │ │ ├── reverb_arrow_white.png │ │ │ │ │ ├── reverb_email_sent.png │ │ │ │ │ ├── reverb_progress_ring.png │ │ │ │ │ ├── reverb_rating_bar_selected.png │ │ │ │ │ └── reverb_rating_bar_unselected.png │ │ │ │ ├── drawable-mdpi │ │ │ │ │ ├── dog.jpg │ │ │ │ │ ├── bicycle.jpg │ │ │ │ │ ├── reverb_icon.png │ │ │ │ │ ├── reverb_email.png │ │ │ │ │ ├── reverb_error.png │ │ │ │ │ ├── reverb_checkmark.png │ │ │ │ │ ├── reverb_arrow_purple.png │ │ │ │ │ ├── reverb_arrow_white.png │ │ │ │ │ ├── reverb_email_sent.png │ │ │ │ │ ├── reverb_progress_ring.png │ │ │ │ │ ├── reverb_rating_bar_selected.png │ │ │ │ │ └── reverb_rating_bar_unselected.png │ │ │ │ ├── drawable-xhdpi │ │ │ │ │ ├── dog.jpg │ │ │ │ │ ├── bicycle.jpg │ │ │ │ │ ├── reverb_email.png │ │ │ │ │ ├── reverb_error.png │ │ │ │ │ ├── reverb_icon.png │ │ │ │ │ ├── reverb_arrow_white.png │ │ │ │ │ ├── reverb_checkmark.png │ │ │ │ │ ├── reverb_email_sent.png │ │ │ │ │ ├── reverb_arrow_purple.png │ │ │ │ │ ├── reverb_progress_ring.png │ │ │ │ │ ├── reverb_rating_bar_selected.png │ │ │ │ │ └── reverb_rating_bar_unselected.png │ │ │ │ ├── drawable-xxhdpi │ │ │ │ │ ├── dog.jpg │ │ │ │ │ ├── bicycle.jpg │ │ │ │ │ ├── reverb_email.png │ │ │ │ │ ├── reverb_error.png │ │ │ │ │ ├── reverb_icon.png │ │ │ │ │ ├── reverb_checkmark.png │ │ │ │ │ ├── reverb_email_sent.png │ │ │ │ │ ├── reverb_arrow_purple.png │ │ │ │ │ ├── reverb_arrow_white.png │ │ │ │ │ ├── reverb_progress_ring.png │ │ │ │ │ ├── reverb_rating_bar_selected.png │ │ │ │ │ └── reverb_rating_bar_unselected.png │ │ │ │ ├── drawable-xxxhdpi │ │ │ │ │ ├── dog.jpg │ │ │ │ │ ├── bicycle.jpg │ │ │ │ │ ├── reverb_icon.png │ │ │ │ │ ├── reverb_email.png │ │ │ │ │ ├── reverb_error.png │ │ │ │ │ ├── reverb_checkmark.png │ │ │ │ │ ├── reverb_arrow_white.png │ │ │ │ │ ├── reverb_email_sent.png │ │ │ │ │ ├── reverb_arrow_purple.png │ │ │ │ │ ├── reverb_progress_ring.png │ │ │ │ │ ├── reverb_rating_bar_selected.png │ │ │ │ │ └── reverb_rating_bar_unselected.png │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ ├── layout │ │ │ │ │ ├── fragment_space.xml │ │ │ │ │ ├── fragment_placeholder.xml │ │ │ │ │ ├── layout_reverb_switch_login_type.xml │ │ │ │ │ ├── fragment_reverb_footer_bar.xml │ │ │ │ │ ├── fragment_reverb_footer_dots.xml │ │ │ │ │ ├── fragment_reverb_body.xml │ │ │ │ │ ├── activity_error.xml │ │ │ │ │ ├── activity_hello_code.xml │ │ │ │ │ └── activity_hello_token.xml │ │ │ │ ├── values │ │ │ │ │ ├── whitelisted_phone_country_codes.xml │ │ │ │ │ ├── colors.xml │ │ │ │ │ ├── blacklisted_phone_country_codes.xml │ │ │ │ │ ├── attrs.xml │ │ │ │ │ ├── dimens.xml │ │ │ │ │ ├── styles.xml │ │ │ │ │ ├── strings.xml │ │ │ │ │ └── themes.xml │ │ │ │ ├── drawable │ │ │ │ │ ├── reverb_progress_rotating_ring.xml │ │ │ │ │ ├── reverb_rating_bar.xml │ │ │ │ │ ├── reverb_progress_complete.xml │ │ │ │ │ ├── placeholder_background.xml │ │ │ │ │ └── reverb_progress_bar.xml │ │ │ │ └── values-v17 │ │ │ │ │ └── styles.xml │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── example │ │ │ │ │ └── accountkitsample │ │ │ │ │ ├── AccountKitSampleApplication.java │ │ │ │ │ ├── InflateFragment.java │ │ │ │ │ ├── ErrorActivity.java │ │ │ │ │ ├── SpaceFragment.java │ │ │ │ │ ├── CodeActivity.java │ │ │ │ │ ├── PlaceholderFragment.java │ │ │ │ │ ├── ReverbBodyFragment.java │ │ │ │ │ ├── TokenActivity.java │ │ │ │ │ ├── ReverbFooterFragment.java │ │ │ │ │ ├── AccountKitSampleAdvancedUIManager.java │ │ │ │ │ └── ReverbUIManager.java │ │ │ └── AndroidManifest.xml │ │ └── androidTest │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── accountkitsample │ │ │ ├── AccountKitTest.java │ │ │ ├── MainActivityTest.java │ │ │ ├── TestUtils.java │ │ │ ├── phone │ │ │ ├── PhoneLoginUtil.java │ │ │ └── PhoneTests.java │ │ │ └── email │ │ │ ├── EmailLoginUtil.java │ │ │ └── EmailTests.java │ ├── proguard-project.txt │ └── build.gradle └── AccountKitSimpleSample │ ├── src │ └── main │ │ ├── res │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ ├── layout │ │ │ ├── activity_main.xml │ │ │ ├── activity_error.xml │ │ │ └── activity_hello_token.xml │ │ └── values │ │ │ └── strings.xml │ │ ├── java │ │ └── com │ │ │ └── example │ │ │ └── accountkitsimplesample │ │ │ ├── AccountKitSimpleSampleApplication.java │ │ │ ├── ErrorActivity.java │ │ │ ├── TokenActivity.java │ │ │ └── MainActivity.java │ │ └── AndroidManifest.xml │ ├── proguard-project.txt │ └── build.gradle ├── constants.gradle ├── CONTRIBUTING.mdown ├── LICENSE ├── README.mdown ├── gradlew.bat └── gradlew /settings.gradle: -------------------------------------------------------------------------------- 1 | // AccountKit 2 | 3 | include ':samples:AccountKitSample' 4 | include ':samples:AccountKitSimpleSample' 5 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-hdpi/dog.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-hdpi/dog.jpg -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-mdpi/dog.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-mdpi/dog.jpg -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xhdpi/dog.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xhdpi/dog.jpg -------------------------------------------------------------------------------- /constants.gradle: -------------------------------------------------------------------------------- 1 | project.ext { 2 | gradleVersion = "3.0.1" 3 | buildTools = "25.0.3" 4 | supportLibraryVersion = "25.3.1" 5 | compileSdk = 25 6 | minSdk = 15 7 | targetSdk = 25 8 | } -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxhdpi/dog.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxhdpi/dog.jpg -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxxhdpi/dog.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxxhdpi/dog.jpg -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-hdpi/bicycle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-hdpi/bicycle.jpg -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-mdpi/bicycle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-mdpi/bicycle.jpg -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xhdpi/bicycle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xhdpi/bicycle.jpg -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxhdpi/bicycle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxhdpi/bicycle.jpg -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_icon.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_icon.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxxhdpi/bicycle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxxhdpi/bicycle.jpg -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_email.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_error.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_email.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_error.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_email.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_error.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_icon.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_email.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_error.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_icon.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_icon.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_checkmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_checkmark.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_checkmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_checkmark.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_email.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_error.png -------------------------------------------------------------------------------- /samples/AccountKitSimpleSample/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSimpleSample/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /samples/AccountKitSimpleSample/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSimpleSample/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /samples/AccountKitSimpleSample/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSimpleSample/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_arrow_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_arrow_purple.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_arrow_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_arrow_white.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_email_sent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_email_sent.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_arrow_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_arrow_purple.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_arrow_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_arrow_white.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_email_sent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_email_sent.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_arrow_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_arrow_white.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_checkmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_checkmark.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_email_sent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_email_sent.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_checkmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_checkmark.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_email_sent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_email_sent.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_checkmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_checkmark.png -------------------------------------------------------------------------------- /samples/AccountKitSimpleSample/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSimpleSample/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /samples/AccountKitSimpleSample/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSimpleSample/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_progress_ring.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_progress_ring.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_progress_ring.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_progress_ring.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_arrow_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_arrow_purple.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_progress_ring.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_progress_ring.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_arrow_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_arrow_purple.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_arrow_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_arrow_white.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_arrow_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_arrow_white.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_email_sent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_email_sent.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_progress_ring.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_progress_ring.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_arrow_purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_arrow_purple.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_progress_ring.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_progress_ring.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_rating_bar_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_rating_bar_selected.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_rating_bar_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_rating_bar_selected.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_rating_bar_unselected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-hdpi/reverb_rating_bar_unselected.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_rating_bar_unselected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-mdpi/reverb_rating_bar_unselected.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_rating_bar_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_rating_bar_selected.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_rating_bar_unselected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xhdpi/reverb_rating_bar_unselected.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_rating_bar_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_rating_bar_selected.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_rating_bar_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_rating_bar_selected.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_rating_bar_unselected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxhdpi/reverb_rating_bar_unselected.png -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_rating_bar_unselected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookarchive/account-kit-samples-for-android/HEAD/samples/AccountKitSample/src/main/res/drawable-xxxhdpi/reverb_rating_bar_unselected.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Jan 18 17:09:08 PST 2018 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip 7 | -------------------------------------------------------------------------------- /CONTRIBUTING.mdown: -------------------------------------------------------------------------------- 1 | Facebook welcomes contributions to our SDKs. 2 | 3 | All contributors must sign a CLA (contributor license agreement) here: 4 | 5 | https://developers.facebook.com/opensource/cla 6 | 7 | To contribute on behalf of your employer, sign the company CLA 8 | To contribute on behalf of yourself, sign the individual CLA 9 | 10 | By contributing to, you agree that your contributions will be licensed 11 | under the LICENSE file in the root directory of this source tree. 12 | -------------------------------------------------------------------------------- /samples/AccountKitSample/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /samples/AccountKitSimpleSample/proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /samples/AccountKitSimpleSample/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion project.ext.compileSdk 5 | buildToolsVersion project.ext.buildTools 6 | 7 | defaultConfig { 8 | applicationId "com.example.accountkitsimplesample" 9 | minSdkVersion project.ext.minSdk 10 | targetSdkVersion project.ext.targetSdk 11 | } 12 | 13 | lintOptions { 14 | abortOnError false 15 | } 16 | 17 | dependencies { 18 | implementation 'com.facebook.android:account-kit-sdk:5.0.0' 19 | implementation "com.android.support:support-v4:${project.ext.supportLibraryVersion}" 20 | implementation 'com.google.android.gms:play-services-base:11.8.0' 21 | } 22 | 23 | splits { 24 | abi { 25 | enable true 26 | reset() 27 | include 'armeabi', 'armeabi-v7a', 'x86' 28 | universalApk true 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2016-present, Facebook, Inc. All rights reserved. 2 | 3 | You are hereby granted a non-exclusive, worldwide, royalty-free license to use, 4 | copy, modify, and distribute this software in source code or binary form for use 5 | in connection with the web services and APIs provided by Facebook. 6 | 7 | As with any software that integrates with the Facebook platform, your use of 8 | this software is subject to the Facebook Developer Principles and Policies 9 | [http://developers.facebook.com/policy/]. This copyright notice shall be 10 | included in all copies or substantial portions of the software. 11 | 12 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 13 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 14 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 15 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 16 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 17 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 18 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/layout/fragment_space.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 27 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/values/whitelisted_phone_country_codes.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 23 | 24 | ID 25 | US 26 | 27 | 28 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 23 | #0099E1 24 | #262261 25 | #e9e8ef 26 | #1d2129 27 | 28 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/androidTest/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/values/blacklisted_phone_country_codes.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 23 | 24 | ID 25 | 26 | 27 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable/reverb_progress_rotating_ring.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 30 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/androidTest/java/com/example/accountkitsample/AccountKitTest.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. 3 | * 4 | * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, 5 | * copy, modify, and distribute this software in source code or binary form for use 6 | * in connection with the web services and APIs provided by Facebook. 7 | * 8 | * As with any software that integrates with the Facebook platform, your use of 9 | * this software is subject to the Facebook Developer Principles and Policies 10 | * [http://developers.facebook.com/policy/]. This copyright notice shall be 11 | * included in all copies or substantial portions of the software. 12 | * 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 15 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 16 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 17 | * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 18 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 19 | */ 20 | 21 | package com.example.accountkitsample; 22 | 23 | import android.os.StrictMode; 24 | 25 | import org.junit.Before; 26 | 27 | public abstract class AccountKitTest { 28 | 29 | @Before 30 | public void disableStrictModeForTesting() { 31 | StrictMode.setThreadPolicy(StrictMode.ThreadPolicy.LAX); 32 | StrictMode.setVmPolicy(StrictMode.VmPolicy.LAX); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /samples/AccountKitSample/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion project.ext.compileSdk 5 | buildToolsVersion project.ext.buildTools 6 | 7 | defaultConfig { 8 | applicationId "com.example.accountkitsample" 9 | minSdkVersion project.ext.minSdk 10 | targetSdkVersion project.ext.targetSdk 11 | 12 | // Optional: Specify only the language(s) your app supports to minimize the APK size. 13 | // resConfigs "en", "fr", "pt-rPT" 14 | 15 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 16 | } 17 | 18 | dependencies { 19 | implementation 'com.facebook.android:account-kit-sdk:5.0.0' 20 | implementation "com.android.support:support-v4:${project.ext.supportLibraryVersion}" 21 | implementation "com.android.support:support-annotations:${project.ext.supportLibraryVersion}" 22 | implementation 'com.google.android.gms:play-services-base:11.8.0' 23 | 24 | testImplementation 'junit:junit:4.12' 25 | 26 | androidTestImplementation 'com.android.support.test:runner:0.5' 27 | androidTestImplementation 'com.android.support.test:rules:0.5' 28 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:2.2.2' 29 | androidTestImplementation 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2' 30 | } 31 | 32 | lintOptions { 33 | abortOnError false 34 | } 35 | 36 | splits { 37 | abi { 38 | enable true 39 | reset() 40 | include 'armeabi', 'armeabi-v7a', 'x86' 41 | universalApk true 42 | } 43 | } 44 | } 45 | 46 | -------------------------------------------------------------------------------- /README.mdown: -------------------------------------------------------------------------------- 1 | Account Kit SDK for Android Samples 2 | ======================== 3 | 4 | This repository contains a collection of samples demonstrating how to integrate the Account Kit SDK. 5 | 6 | Learn more about the provided samples, documentation, integrating the SDK into your app, accessing source code, and more at https://developers.facebook.com/docs/accountkit 7 | 8 | GIVE FEEDBACK 9 | ------------- 10 | Please report bugs or issues related to the Account Kit SDK to https://developers.facebook.com/bugs/ 11 | 12 | You can also join the Facebook Developers Group on Facebook (https://www.facebook.com/groups/fbdevelopers/) or ask questions on Stack Overflow (http://facebook.stackoverflow.com) 13 | 14 | CONTRIBUTING 15 | ------------- 16 | We are able to accept contributions to the Account Kit SDK for Android. To contribute please do the following. 17 | - Follow the instructions in the [CONTRIBUTING.mdown](https://github.com/fbsamples/account-kit-samples-for-android/blob/master/CONTRIBUTING.mdown). 18 | - Submit your pull request to the [dev](https://github.com/fbsamples/account-kit-samples-for-android/tree/dev) branch. This allows us to merge your change into our internal master and then push out the change in the next release. 19 | 20 | LICENSE 21 | ------- 22 | Except as otherwise noted, the Account Kit SDK Samples for Android are licensed under the Facebook Platform License (https://github.com/fbsamples/account-kit-samples-for-android/blob/master/LICENSE.txt). 23 | 24 | Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 25 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/values/attrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/layout/fragment_placeholder.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 28 | 35 | 36 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/values-v17/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 23 | 27 | 28 | 32 | 33 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/layout/layout_reverb_switch_login_type.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 35 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable/reverb_rating_bar.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 23 | 24 | 28 | 32 | 36 | 37 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable/reverb_progress_complete.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 23 | 24 | 30 | 34 | 35 | 36 | 37 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/layout/fragment_reverb_footer_bar.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 28 | 29 | 37 | 38 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/layout/fragment_reverb_footer_dots.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 26 | 27 | 39 | 40 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable/placeholder_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 34 | 35 | 36 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/androidTest/java/com/example/accountkitsample/MainActivityTest.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. 3 | * 4 | * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, 5 | * copy, modify, and distribute this software in source code or binary form for use 6 | * in connection with the web services and APIs provided by Facebook. 7 | * 8 | * As with any software that integrates with the Facebook platform, your use of 9 | * this software is subject to the Facebook Developer Principles and Policies 10 | * [http://developers.facebook.com/policy/]. This copyright notice shall be 11 | * included in all copies or substantial portions of the software. 12 | * 13 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 15 | * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 16 | * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 17 | * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 18 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 19 | */ 20 | 21 | package com.example.accountkitsample; 22 | 23 | import android.support.test.rule.ActivityTestRule; 24 | import android.support.test.runner.AndroidJUnit4; 25 | import android.test.suitebuilder.annotation.SmallTest; 26 | 27 | import com.example.accountkitsample.email.EmailLoginUtil; 28 | import com.example.accountkitsample.phone.PhoneLoginUtil; 29 | 30 | import org.junit.Rule; 31 | import org.junit.Test; 32 | import org.junit.runner.RunWith; 33 | 34 | @RunWith(AndroidJUnit4.class) 35 | @SmallTest 36 | public class MainActivityTest { 37 | 38 | @Rule 39 | public ActivityTestRule mActivityRule = 40 | new ActivityTestRule<>(MainActivity.class); 41 | 42 | @Test 43 | public void phoneButtonTest() { 44 | PhoneLoginUtil.startPhoneLogin(); 45 | } 46 | 47 | @Test 48 | public void emailButtonTest() { 49 | EmailLoginUtil.startEmailLogin(); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /samples/AccountKitSample/src/main/res/drawable/reverb_progress_bar.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /samples/AccountKitSimpleSample/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 21 | 22 | 27 | 31 |