Logo images
  • Home
  • Services
  • Unity 3D
  • Contact
Logo images
  • Home
  • Services
  • Unity 3D
  • Contact

Unity Android Auto OTP Verification/Enable GPS Dialog/Open App Settings

Buy in Asset Store Download APK
Slider images
Shape Images
Shape Images

You can Enable GPS Dialog with one line of code, with callbacks

You will get callback results as true or false.

You will also get Toast Message whether Location Services are Enabled or not.

You can view your current App settings page

You can Enable/Disable permissions based on your Apps Requirements and also you can view Notification settings of your App

Auto Verification OTP

There are two types to Receive/Read OTP from this Plugin

  • Auto Verification in Background with hash string to be included in OTP message.

  • With Users SmsConsent, a dialog will be shown to allow or deny the OTP to read.


  • Auto Sms Verification steps to be followed
    The message must:

  • Be no longer than 140 bytes.

  • Contain a one-time code that the client sends back to your server to complete the verification flow.

  • Include an 11-character hash string that identifies your app.

  • Message Format - Example
    <#> Your OTP is 123456 FA+9qCX9VSu
    <#> this is Must
    123456 is your OTP
    FA+9qCX9VSu is the Hash string to be added at the end of your OTP Message.

    You can View the OTP Received from SMS in the text box in below image.

    Generation of Hash String.

    i) For Development testing –

    1) Create a new Keystore with password and save it in your desired folder.

    2)Download Git from Google and Set the Path for Git in Environment variable as C:\Program Files\Git\usr\bin and also keytool path in Path C:\Program Files\Git\usr\bin; %JAVA_HOME%\bin;

    3)Set the System Variable as JAVA_HOME -C:\Program Files\Java\jdk-12.0.1

    4) keytool -exportcert -alias YourAlias -keystore "YourKeystore.keystore" | xxd -p | tr -d "[:space:]" | echo -n com.yourcompany.packagename `cat` | sha256sum | tr -d "[:space:]-" | xxd -r -p | base64 | cut -c1-11

    Copy Paste Above Command in GitBash with required fields ,you will get 11digit hash string.

    ii) For Production-

    1) Download AppSigning Certificate deployment_cert.der from GooglePlay Console.

    2) keytool -importcert -alias youralias -file deployment_cert.der -keystore certificate.jks -storepass yourkeystorepassword you can set the path to be stored for certificate.jks

    After entering this command in Git it will ask

    Trust this certificate? [no]: yes

    type yes and click enter . It will show message

    Certificate was added to keystore

    This will generate a new file certificate.jks in your required path

    3) keytool -exportcert -alias YOUR_ALIAS -keystore certificate.jks | xxd -p | tr -d "[:space:]" | echo -n YOUR_PACKAGE `cat` | sha256sum | tr -d "[:space:]-" | xxd -r -p | base64 | cut -c1-11

    Copy paste above command in Git with required fields and enter ,your App Hashstring will be generated ,This Hash string to be used for your otp messages.

    SmsUserConsent

    1)you can provide the sender phone number or else you can send null(senders phone number to filter your particular app message)

    2) 4-10 digit alphanumeric code containing at least one number

    3) Sender cannot be in the user's Contacts list.

    4) One tap to approve.

    You can View the OTP Received from SMSConsent Dialog in the text box, when you click allow in above image

    Buy in Asset Store Download APK

    Get in touch!

    Imagination is what it takes
    let's do it together

    Services
    • Logo & Branding
    • Website Development
    • Mobile App Development
    • Search Engine Optimization
    • Social Media Marketing
    Support
    • Contact
    • Privacy Policy

    © 2020 VassCreatick. All rights reserved.