Open zsm8 opened 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.
Starting point: https://developer.android.com/training/sign-in/index.html
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
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:
Struggling to follow YouTube guides - found Google sample applications including a Sign-In function: https://github.com/googlesamples/google-services/tree/master/android/signin
The whole "fail fast" thing is starting to become very familiar. Behold the next step in my quest.
Glorious
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/
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.
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.
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.