File tree Expand file tree Collapse file tree 16 files changed +29
-64
lines changed
src/com/parse/loginsample/basic
ParseLoginSampleCodeCustomization
src/com/parse/loginsample/codecustomization
ParseLoginSampleLayoutOverride
src/com/parse/loginsample/layoutoverride
ParseLoginSampleWithDispatchActivity
src/com/parse/loginsample/withdispatchactivity Expand file tree Collapse file tree 16 files changed +29
-64
lines changed Original file line number Diff line number Diff line change 1- [submodule "facebook-sdk "]
2- path = facebook-sdk
3- url = git@github.com:facebook/facebook-android-sdk.git
Original file line number Diff line number Diff line change 11apply plugin : ' android'
22
33dependencies {
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
109android {
Original file line number Diff line number Diff line change 2424import android .app .Application ;
2525
2626import com .parse .Parse ;
27- import com .parse .ParseFacebookUtils ;
2827import com .parse .ParseTwitterUtils ;
2928
3029public 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 ),
Original file line number Diff line number Diff line change 11apply plugin : ' android'
22
33dependencies {
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
109android {
Original file line number Diff line number Diff line change 2424import android .app .Application ;
2525
2626import com .parse .Parse ;
27- import com .parse .ParseFacebookUtils ;
2827import com .parse .ParseTwitterUtils ;
2928
3029public 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 ),
Original file line number Diff line number Diff line change 11apply plugin : ' android'
22
33dependencies {
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
109android {
Original file line number Diff line number Diff line change 2424import android .app .Application ;
2525
2626import com .parse .Parse ;
27- import com .parse .ParseFacebookUtils ;
2827import com .parse .ParseTwitterUtils ;
2928
3029public 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 ),
Original file line number Diff line number Diff line change 11apply plugin : ' android'
22
33dependencies {
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
109android {
Original file line number Diff line number Diff line change 2424import android .app .Application ;
2525
2626import com .parse .Parse ;
27- import com .parse .ParseFacebookUtils ;
2827import com .parse .ParseTwitterUtils ;
2928
3029public 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 ),
Original file line number Diff line number Diff line change 11apply plugin : ' android-library'
22
33dependencies {
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
911android {
You can’t perform that action at this time.
0 commit comments