Giter Club home page Giter Club logo

android-smart-login's People

Contributors

delphine-binoux avatar devyo12 avatar kalyandechiraju avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-smart-login's Issues

Please add login with Twitter

Hi,

Nice library, guys! This is excellent. Can you guys please add login with Twitter and phone number via Twitter fabric and digits, or something like that? Login with twitter would be very needed for a login.

Also, I think I can rework the login page.

Changing the look

Hello, I know that this is a module but I don't know if you have a feature that allows you to change sizes of the buttons ( FB and G+) or change the colors of the Ui or the background?, also to translate the strings to other languages.

Best Regards

Login screen layout

  1. Is it possible to change texts? Because I want translate texts in my language. How?
  2. Is it possible to change background? How?

google login failed

I've implemented what is needed, but when I use the login method I get "Google login failed" in the "onLoginFailure" callback.

the stack trace:
studios.codelight.smartloginlibrary.GoogleLogin.onActivityResult(GoogleLogin.java:87)
com.blabla.TestActivity.onActivityResult(TestActivity.java:52)
android.app.Activity.dispatchActivityResult(Activity.java:7137)
android.app.ActivityThread.deliverResults(ActivityThread.java:4916)
android.app.ActivityThread.handleSendResult(ActivityThread.java:4963)
android.app.ActivityThread.access$1600(ActivityThread.java:221)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1848)
android.os.Handler.dispatchMessage(Handler.java:102)
android.os.Looper.loop(Looper.java:158)
android.app.ActivityThread.main(ActivityThread.java:7224)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Problems with doFacebookLogin in old version!

        LoginManager.getInstance().logInWithReadPermissions(SmartLoginActivity.this, permissions);
        LoginManager.getInstance().registerCallback(callbackManager, new FacebookCallback<LoginResult>() {
            @Override
            public void onSuccess(LoginResult loginResult) {
                progress.setMessage(getString(R.string.getting_data));
                GraphRequest request = GraphRequest.newMeRequest(loginResult.getAccessToken(), new GraphRequest.GraphJSONObjectCallback() {
                    @Override
                    public void onCompleted(JSONObject object, GraphResponse response) {
                        progress.dismiss();
                        UserUtil util = new UserUtil();
                        SmartFacebookUser facebookUser = util.populateFacebookUser(object);
                        if (facebookUser != null) {
                            finishLogin(facebookUser);
                        } else {
                            finish();
                        }
                    }
                });
                request.executeAsync();
            }

This is your old code. It's not populating the util correctly and it's not allowing me to use the users data

How to force users to login/register?

Hi,

I have an app where users have to login/register in order to use the app.
Is there a way to disable the up button and change the back button to leaving the app?
Restarting the intent when the user pushes up/back is ugly.

Thanks!

Add support for email instead of username

Instead of strictly requiring the username field as a username, allow the developer to configure whether an email will be used instead of a username.

What do you think?

ETA on improved login page

Hi there, just to know. Is there any ETA on when the login page and gradle dependency will be available? Just to know, cause I'm using the library as module from my project.
Is there anything that I can help with?
Thanks

FirebaseUI - Auth

I was searching how can customize login of FirebaseUI - Auth.
Exist a way to use Android-Smart-Login with FirebaseUI - Auth?

I think Android-Smart-Login is very cool and login of FirebaseUI - Auth is very boring.

Thanks.

Working example please

Is there a working example using this? I'm trying to get it to work but I can't. I've followed this steps but I don't know how to add the loginBuilder.
I've made a LoginActivity class and copied the code here then I've made a MainActivity and tried to add the loginBuilder but it's red and I don't know what to import.

If you can provide an actual working example. Thanks

Modification

Hi,
Thanks a ton for such an amazing library. It's really darn useful and shaves a lot of time for developers to include social logins. Just one query. Am I allowed to make modifications in your library like changing the text views color ,etc? By the way, I have included your project as a library in my android. So it goes with direct modification of your source code.. Am I allowed to do it ?

Can't log out

When I try to sign out my superUser, application crashes. Log says that transaction is too large. Below is part of the logcat. I'm I the only one with this issue?

09-14 11:49:37.965 7904-7904/studios.codelight.smartlogin D/Error: ERR: TOTAL BYTES WRITTEN: 28404168 09-14 11:49:37.968 7904-7904/studios.codelight.smartlogin E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 28404252) 09-14 11:49:37.968 7904-7914/studios.codelight.smartlogin I/art: Background sticky concurrent mark sweep GC freed 23(1360B) AllocSpace objects, 1(27MB) LOS objects, 2% free, 129MB/133MB, paused 5.134ms total 83.796ms 09-14 11:49:37.973 7904-7904/studios.codelight.smartlogin E/AndroidRuntime: Error reporting crash android.os.TransactionTooLargeException: data parcel size 28404252 bytes at android.os.BinderProxy.transactNative(Native Method) at android.os.BinderProxy.transact(Binder.java:503) at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:4425) at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:90) at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693) at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)

When's the next release?

Hi, I would like to know when the next release is scheduled?

Also, what still needs to be done? I might be able to help with what needs to be done (currently busy with school work, though).

New version ?

Last beta release seems a little outdated. Is any news about the date of next release?
Thanks, M.

Please enter a valid email

On Custom Signup even after providing a valid email address the app is still throwing this error, is it a bug?

I want to hide logins except Google-login

For now I use my own login activity. Google-login should be used so I hided the other possibilities to login. The user has to click on an arrow and then facebook, digits and own login (username/password) is shown.
Would be nice if this lib could do this job.

Add support for user-definable login layout

I think we can make this library more modular by allowing the user to specify a login layout/fragment. He/she would also have to include the facebook/google login button ids via an attribute.

What do you guys think?

Google sign-in not working

I am able to include the library successfully in my project, but Google sign-in is not working.
It stucks at "Getting user info" and remains there.

Facebook login is working perfectly.

Please help me with Google sign-in or suggest me where am I going wrong.

Pls Create Good sample app.

Sample not work .. No showing proper error report .. it just say "Something Wrong" How we can find error? sample only have layout. Developer looking library for make work easy.. i am right?

node Backend lib suggestion to use with Android-Smart-Login

Hi Guys, This is not a problem with the lib, but I couldn't find any other way to reach out.

I am wondering if you have any suggestions for using a lib for the backend handling of all three login strategies?
Or is the only option to write it from scratch?
Thank you so much

NoClassDefFoundError at creating intent

Hey I set up the library and manifest file as explained, but at building the intent like this:

Intent intent = new SmartLoginBuilder().with(MainActivity.this)
        .setAppLogo(R.drawable.app_logo_circ)
        .isFacebookLoginEnabled(true).withFacebookAppId(getString(R.string.facebook_app_id))
        .isGoogleLoginEnabled(false)
        .build();
startActivityForResult(intent, SmartLoginConfig.LOGIN_REQUEST);

I get the following exception. It means that I have some kind of linking problem.

08-26 12:24:16.044 6195-6195/com.app.appdemo.daily.developer E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.NoClassDefFoundError: studios.codelight.smartloginlibrary.SmartLoginActivity
   at studios.codelight.smartloginlibrary.SmartLoginBuilder.build(SmartLoginBuilder.java:66)
   at com.app.appdemo.screens.main.MainActivity.onCreate(MainActivity.java:56)
   at android.app.Activity.performCreate(Activity.java:5133)
   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2293)
   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2389)
   at android.app.ActivityThread.access$600(ActivityThread.java:153)
   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1269)
   at android.os.Handler.dispatchMessage(Handler.java:99)
   at android.os.Looper.loop(Looper.java:137)
   at android.app.ActivityThread.main(ActivityThread.java:5289)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:525)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
   at dalvik.system.NativeStart.main(Native Method)

Can you give me possible solutions?

No Data Is Shown.

While logging in using LoginType.Facebook, it doesn't show any data except userid and gender. I think its time to update the library.

Google login fails

Facebook Login is working fine but Google login fails with following error
studios.codelight.smartloginlibrary.util.SmartLoginException: Google login failed

How should i debug this?
What could be the reason of failure

Typo error

Hello, I have noticed some typo errors in the README file and I would like to correct them. Can you tell me in what branch should I put my request in?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.