CiderCS3398 / CS3398-Cider-S2017

CS3398 Team Github
0 stars 2 forks source link

Review How-To's and for Implementing Google+ Login #48

Open zsm8 opened 7 years ago

zsm8 commented 7 years ago

I'm going to seek out guides on how to implement Google+ login. It should be well supported and there should be a wide range of resources to choose from. Will post artifacts with information gathered.

zsm8 commented 7 years ago

Changed estimate from 2 to 5 hours since I've ran into issues where working with something new usually generates hick-ups.

zsm8 commented 7 years ago

Starting point: https://developer.android.com/training/sign-in/index.html

zsm8 commented 7 years ago

image

zsm8 commented 7 years ago

image

How I found the SHA-1 certificate: http://stackoverflow.com/questions/27609442/how-to-get-the-sha-1-fingerprint-certificate-in-android-studio-for-debug-mode

zsm8 commented 7 years ago

image

zsm8 commented 7 years ago

On a side note, I added an unwanted login activity that was hanging up the program. It didn't work. Android Studio has a "safe delete" dialog that opens when you right click activity file and click delete:

image

zsm8 commented 7 years ago

Struggling to follow YouTube guides - found Google sample applications including a Sign-In function: https://github.com/googlesamples/google-services/tree/master/android/signin

zsm8 commented 7 years ago

image

The whole "fail fast" thing is starting to become very familiar. Behold the next step in my quest.

zsm8 commented 7 years ago

Glorious image

zsm8 commented 7 years ago

Note that I pivoted towards a login process that differs from the Google guides. This one appears to be a local authentication/sample activity. My objective is to import it as a module to RecipeAssistant then modify it to make it visually consistent with the rest of the app as well as have it set up to authenticate remotely at a later point. As of now emphasis on working code. Resource: https://sourcey.com/beautiful-android-login-and-signup-screens-with-material-design/

zsm8 commented 7 years ago

Welp. For the process for importing another application as a module, I am able to do so successfully when it's into a HelloWorld test app, but if I try to do so for the RecipeAssistant I get pegged with the error plugin id: 'com.android.library' not found and every single link for the first page of Google with that search is purple for me as I've tried all different sorts of solutions with no success.

zsm8 commented 7 years ago

Pushed the Material Login Code to Reference Code. The application runs on its own just fine, but importing it into Recipe Assistant as a module doesn't work as I had thought.

Going to close this issue and focus on other aspects of development.