Skip to content

Commit 311f62c

Browse files
committed
Merge pull request #17 from ParsePlatform/update_latest_sdks_nov_2014
Update SDK/Tools to latest, use Maven instead of git submodule for FB SDK
2 parents 727fa07 + 50cf070 commit 311f62c

File tree

16 files changed

+29
-64
lines changed

16 files changed

+29
-64
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "facebook-sdk"]
2-
path = facebook-sdk
3-
url = git@github.com:facebook/facebook-android-sdk.git

ParseLoginSampleBasic/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
apply plugin: 'android'
22

33
dependencies {
4+
compile 'com.facebook.android:facebook-android-sdk:3.21.0'
45
compile project(':ParseLoginUI')
5-
compile project(':facebook-sdk:facebook')
6-
compile 'com.android.support:support-v4:13.0.+'
7-
compile fileTree(dir: 'libs', include: '*.jar')
6+
compile 'com.android.support:support-v4:21.0.0'
87
}
98

109
android {

ParseLoginSampleBasic/src/com/parse/loginsample/basic/SampleApplication.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import android.app.Application;
2525

2626
import com.parse.Parse;
27-
import com.parse.ParseFacebookUtils;
2827
import com.parse.ParseTwitterUtils;
2928

3029
public class SampleApplication extends Application {
@@ -37,10 +36,6 @@ public void onCreate() {
3736

3837
Parse.setLogLevel(Parse.LOG_LEVEL_DEBUG);
3938

40-
// Optional - If you don't want to allow Facebook login, you can
41-
// remove this line (and other related ParseFacebookUtils calls)
42-
ParseFacebookUtils.initialize(getString(R.string.facebook_app_id));
43-
4439
// Optional - If you don't want to allow Twitter login, you can
4540
// remove this line (and other related ParseTwitterUtils calls)
4641
ParseTwitterUtils.initialize(getString(R.string.twitter_consumer_key),

ParseLoginSampleCodeCustomization/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
apply plugin: 'android'
22

33
dependencies {
4+
compile 'com.facebook.android:facebook-android-sdk:3.21.0'
45
compile project(':ParseLoginUI')
5-
compile project(':facebook-sdk:facebook')
6-
compile 'com.android.support:support-v4:13.0.+'
7-
compile fileTree(dir: 'libs', include: '*.jar')
6+
compile 'com.android.support:support-v4:21.0.0'
87
}
98

109
android {

ParseLoginSampleCodeCustomization/src/com/parse/loginsample/codecustomization/SampleApplication.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import android.app.Application;
2525

2626
import com.parse.Parse;
27-
import com.parse.ParseFacebookUtils;
2827
import com.parse.ParseTwitterUtils;
2928

3029
public class SampleApplication extends Application {
@@ -37,10 +36,6 @@ public void onCreate() {
3736

3837
Parse.setLogLevel(Parse.LOG_LEVEL_DEBUG);
3938

40-
// Optional - If you don't want to allow Facebook login, you can
41-
// remove this line (and other related ParseFacebookUtils calls)
42-
ParseFacebookUtils.initialize(getString(R.string.facebook_app_id));
43-
4439
// Optional - If you don't want to allow Twitter login, you can
4540
// remove this line (and other related ParseTwitterUtils calls)
4641
ParseTwitterUtils.initialize(getString(R.string.twitter_consumer_key),

ParseLoginSampleLayoutOverride/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
apply plugin: 'android'
22

33
dependencies {
4+
compile 'com.facebook.android:facebook-android-sdk:3.21.0'
45
compile project(':ParseLoginUI')
5-
compile project(':facebook-sdk:facebook')
6-
compile 'com.android.support:support-v4:13.0.+'
7-
compile fileTree(dir: 'libs', include: '*.jar')
6+
compile 'com.android.support:support-v4:21.0.0'
87
}
98

109
android {

ParseLoginSampleLayoutOverride/src/com/parse/loginsample/layoutoverride/SampleApplication.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import android.app.Application;
2525

2626
import com.parse.Parse;
27-
import com.parse.ParseFacebookUtils;
2827
import com.parse.ParseTwitterUtils;
2928

3029
public class SampleApplication extends Application {
@@ -37,10 +36,6 @@ public void onCreate() {
3736

3837
Parse.setLogLevel(Parse.LOG_LEVEL_DEBUG);
3938

40-
// Optional - If you don't want to allow Facebook login, you can
41-
// remove this line (and other related ParseFacebookUtils calls)
42-
ParseFacebookUtils.initialize(getString(R.string.facebook_app_id));
43-
4439
// Optional - If you don't want to allow Twitter login, you can
4540
// remove this line (and other related ParseTwitterUtils calls)
4641
ParseTwitterUtils.initialize(getString(R.string.twitter_consumer_key),

ParseLoginSampleWithDispatchActivity/build.gradle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
apply plugin: 'android'
22

33
dependencies {
4+
compile 'com.facebook.android:facebook-android-sdk:3.21.0'
45
compile project(':ParseLoginUI')
5-
compile project(':facebook-sdk:facebook')
6-
compile 'com.android.support:support-v4:13.0.+'
7-
compile fileTree(dir: 'libs', include: '*.jar')
6+
compile 'com.android.support:support-v4:21.0.0'
87
}
98

109
android {

ParseLoginSampleWithDispatchActivity/src/com/parse/loginsample/withdispatchactivity/SampleApplication.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import android.app.Application;
2525

2626
import com.parse.Parse;
27-
import com.parse.ParseFacebookUtils;
2827
import com.parse.ParseTwitterUtils;
2928

3029
public class SampleApplication extends Application {
@@ -37,10 +36,6 @@ public void onCreate() {
3736

3837
Parse.setLogLevel(Parse.LOG_LEVEL_DEBUG);
3938

40-
// Optional - If you don't want to allow Facebook login, you can
41-
// remove this line (and other related ParseFacebookUtils calls)
42-
ParseFacebookUtils.initialize(getString(R.string.facebook_app_id));
43-
4439
// Optional - If you don't want to allow Twitter login, you can
4540
// remove this line (and other related ParseTwitterUtils calls)
4641
ParseTwitterUtils.initialize(getString(R.string.twitter_consumer_key),

ParseLoginUI/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
apply plugin: 'android-library'
22

33
dependencies {
4-
compile project(':facebook-sdk:facebook')
5-
compile 'com.android.support:support-v4:13.0.+'
4+
compile 'com.parse.bolts:bolts-android:1.1.3'
5+
compile 'com.android.support:support-v4:21.0.0'
66
compile fileTree(dir: 'libs', include: '*.jar')
7+
8+
provided 'com.facebook.android:facebook-android-sdk:3.21.0'
79
}
810

911
android {

0 commit comments

Comments
 (0)