Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.89 KB

README.md

File metadata and controls

34 lines (21 loc) · 1.89 KB

Huawei SMS retriever demo

Simple demo that automatically fills in an OTP code from SMS message, based on Huawei SMS Retriever API.

The SMS is sent directly from the device using your sim card for demonstration purposes, in production environment the SMS should be sent from server side, therefore you do not need to include or request the permission Manifest.permission.SEND_SMS.

demo

demo.mp4

if the above video link is broken, then download it from here: https://github.com/megaacheyounes/hms-sms-demo/blob/master/screenshot/demo.mp4

run

  1. clone the project git clone https://github.com/megaacheyounes/hms-sms-demo.git
  2. open project in Android studio (a version that support Gradle 7)
  3. run the app on an HMS device with a working sim card

Notes

References

disclaimer

This repo includes the file agconnect-services.json for educational purposes only, you are not allowed to use it in other projects or distribute it in anyway.