GithubHelp home page GithubHelp logo

sms-listener-service's Introduction

sms-listener-service

This is a plugin for getting OTP code via Restful API. Below is the list of use cases for using this plugin:

  1. Get all SMS on mobile devices
  2. Get the latest SMS that is sent to the mobile devices
  3. Get a list of SMS by phone number

android-demo If you are interested in this project, please drop a โญ!

Usage

This plugin will start a netty server on an android mobile device and it will use port 8181. Below are the steps to install and run the plugin:

  1. Download the latest apk release
  2. Install plugin to an android device with grant all permission for it

adb install -g sms-listener.apk

  1. Start the plugin and run the sms-listener server on the Andorid device, you can specific SMS Server port by changing the value in --ei serverPort your_port_number

adb shell am start -n "com.toilatester.smslistener/com.toilatester.sms.MainActivity" --ei serverPort 8181

  1. Forward the request from adb server to sms-listener server (if you use a real device, you can get the device IP and don't need to run the command below). In case you have multiple devices on the machine, you should use the proxy server such as Nginx as the controller to get correctly SMS that is associated with the device or you can use the IP that is assigned to the device

adb forward tcp:8181 tcp:8181

  1. Get the SMS that contains OTP code with list of support APIs below:

sms-listener-service's People

Contributors

minhhoangvn avatar minhhoangkms avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.