Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ParseLoginSampleBasic/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
apply plugin: 'android'

dependencies {
compile 'com.facebook.android:facebook-android-sdk:3.21.1'
compile 'com.facebook.android:facebook-android-sdk:3.23.1'
compile project(':ParseLoginUI')
compile 'com.android.support:support-v4:21.0.0'
compile 'com.android.support:support-v4:22.0.0'
compile files('../ParseLoginUI/libs/Parse-1.8.4.jar')
compile files('../ParseLoginUI/libs/ParseFacebookUtils-1.8.4.jar')
}

android {
Expand Down
6 changes: 4 additions & 2 deletions ParseLoginSampleCodeCustomization/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
apply plugin: 'android'

dependencies {
compile 'com.facebook.android:facebook-android-sdk:3.21.1'
compile 'com.facebook.android:facebook-android-sdk:3.23.1'
compile project(':ParseLoginUI')
compile 'com.android.support:support-v4:21.0.0'
compile 'com.android.support:support-v4:22.0.0'
compile files('../ParseLoginUI/libs/Parse-1.8.4.jar')
compile files('../ParseLoginUI/libs/ParseFacebookUtils-1.8.4.jar')
}

android {
Expand Down
6 changes: 4 additions & 2 deletions ParseLoginSampleLayoutOverride/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
apply plugin: 'android'

dependencies {
compile 'com.facebook.android:facebook-android-sdk:3.21.1'
compile 'com.facebook.android:facebook-android-sdk:3.23.1'
compile project(':ParseLoginUI')
compile 'com.android.support:support-v4:21.0.0'
compile 'com.android.support:support-v4:22.0.0'
compile files('../ParseLoginUI/libs/Parse-1.8.4.jar')
compile files('../ParseLoginUI/libs/ParseFacebookUtils-1.8.4.jar')
}

android {
Expand Down
6 changes: 4 additions & 2 deletions ParseLoginSampleWithDispatchActivity/build.gradle
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
apply plugin: 'android'

dependencies {
compile 'com.facebook.android:facebook-android-sdk:3.21.1'
compile 'com.facebook.android:facebook-android-sdk:3.23.1'
compile project(':ParseLoginUI')
compile 'com.android.support:support-v4:21.0.0'
compile 'com.android.support:support-v4:22.0.0'
compile files('../ParseLoginUI/libs/Parse-1.8.4.jar')
compile files('../ParseLoginUI/libs/ParseFacebookUtils-1.8.4.jar')
}

android {
Expand Down
16 changes: 13 additions & 3 deletions ParseLoginUI/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,20 @@ apply plugin: 'android-library'

dependencies {
compile 'com.parse.bolts:bolts-android:1.1.4'
compile 'com.android.support:support-v4:21.0.0'
compile fileTree(dir: 'libs', include: '*.jar')
compile 'com.android.support:support-v4:22.0.0'

provided 'com.facebook.android:facebook-android-sdk:3.21.1'
provided 'com.facebook.android:facebook-android-sdk:3.23.1'

// This assumes that your app's project has a compile dependency on the Parse SDK JAR files.
// Your project's build.gradle should say:
//
// compile files('YOUR_PROJECT_LIBS_PATH/Parse-1.8.4.jar')
// compile files('YOUR_PROJECT_LIBS_PATH/ParseFacebookUtils-1.8.4.jar')
//
// Since the dependency below is "provided" instead of "compile", your project's build.gradle
// does not have to refer to the same Parse SDK instance that's in the ParseLoginUI/libs folder.
provided files('libs/Parse-1.8.4.jar')
provided files('libs/ParseFacebookUtils-1.8.4.jar')
}

android {
Expand Down
Binary file removed ParseLoginUI/libs/Parse-1.8.0.jar
Binary file not shown.
Binary file added ParseLoginUI/libs/Parse-1.8.4.jar
Binary file not shown.
Binary file added ParseLoginUI/libs/ParseFacebookUtils-1.8.4.jar
Binary file not shown.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ We built several sample apps demonstrating how to use the `ParseLoginUI` library
this library into your app, we recommend that you run these sample apps to become familiar with its
functionality and customizations. In this section, we describe Android Studio instructions for
running the sample apps (as a standalone project), and importing the `ParseLoginUI` library into
your own app. These instructions were last tested on Android Studio 1.0.2.
your own app. These instructions were last tested on Android Studio 1.1.0.

#### Running Sample Projects
To run our sample apps, you need to import this repo as a standalone Gradle project:
Expand All @@ -29,13 +29,18 @@ To run our sample apps, you need to import this repo as a standalone Gradle proj
2. Import `ParseLoginUI` as a module into your app's Android Studio Project
* File > Import Module in Android Studio
* In the New Module pop-up, set the source directory to the `ParseUI-Android/ParseLoginUI` folder within the cloned repo.
3. Add the following to the `dependencies` section of app's build.gradle. This adds a module dependency to `ParseLoginUI` (and optional Maven dependency for Facebook SDK).
3. Add the following to the `dependencies` section of your app's build.gradle.

// Module dependency on ParseLoginUI library sources
compile project(':ParseLoginUI')

// Uncomment if using Facebook Login
// compile 'com.facebook.android:facebook-android-sdk:3.21.1'
// If your app's project does not have the Parse Android SDK already, copy it into your
// project at YOUR_PROJECT_LIBS_PATH.
compile files('YOUR_PROJECT_LIBS_PATH/Parse-1.8.4.jar')
compile files('YOUR_PROJECT_LIBS_PATH/ParseFacebookUtils-1.8.4.jar')

// Uncomment if using Facebook Login (optional Maven dependency)
// compile 'com.facebook.android:facebook-android-sdk:3.23.1'

4. Add the following to your `AndroidManifest.xml` within the `<application></application>` section. You can see a complete example in our [sample app](https://github.com/ParsePlatform/ParseUI-Android/blob/master/ParseLoginSampleBasic/AndroidManifest.xml).

Expand Down