Via Cà Matta 2 - Peschiera Borromeo (MI)
+39 02 00704272
info@synaptica.info

Digital solution partner

If the application you are creating requires user registration, and it is useful to have the user’s (already verified) email on the device, you can use the APIs provided by Android to prompt the user to log in and grant your app permission to capture their email. Thanks to Delphi’s great ability to interface with native libraries on each target platform, implementing this function within our app is not difficult. The testing environment includes: – Android v. 8.0 up to 12 – Delphi 12.0 Alexandria Enterprise Target application: XtumbleRetail and XtumbleMagazzino available on both Android and iOS Steps necessary to implement user login:

 

1 – Include Android libraries

2 – Enable “GET_ACCOUNT” permission on manifest.xml by Delphi “Project Options” .3 – Subscribe a function that handle the end of user onboarding

  .

4 – Define the function Handler 

  5 – Define the main function, that trigger the login event

6 – Tryyourapplication