All Projects → stfalcon-studio → Smsverifycatcher

stfalcon-studio / Smsverifycatcher

Android library for phone number verification feature in your app. Automatically copies verification code from SMS right into the app. Made by Stfalcon

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Smsverifycatcher

laravel-otp-login
Adds a customizable, translatable, configurable OTP verification step to Laravel Auth. You can add your own SMS provider too.
Stars: ✭ 16 (-97.97%)
Mutual labels:  sms, verification
Vonage Java Sdk
Vonage Server SDK for Java. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
Stars: ✭ 75 (-90.48%)
Mutual labels:  sms, verification
Smsretrieverapimaster
Automatic SMS Verification with the SMS Retriever API
Stars: ✭ 48 (-93.91%)
Mutual labels:  sms, verification
node-identif
🔑 Helper class to verify one's identity via personal channels(SMS, Phone, E-Mail and more!)
Stars: ✭ 27 (-96.57%)
Mutual labels:  sms, verification
Pact broker
Enables your consumer driven contracts workflow
Stars: ✭ 540 (-31.47%)
Mutual labels:  verification
Pulse Sms Android
The ultimate SMS app for Android, available across all of your devices.
Stars: ✭ 488 (-38.07%)
Mutual labels:  sms
Upash
🔒Unified API for password hashing algorithms
Stars: ✭ 484 (-38.58%)
Mutual labels:  verification
Vunit
VUnit is a unit testing framework for VHDL/SystemVerilog
Stars: ✭ 438 (-44.42%)
Mutual labels:  verification
Bombers
SMS/Email/Whatsapp/Twitter/Instagram bombers Collection 💣💣💣 💥
Stars: ✭ 647 (-17.89%)
Mutual labels:  sms
Jasmin
Jasmin - Open source SMS gateway
Stars: ✭ 590 (-25.13%)
Mutual labels:  sms
Cosette
Cosette is an automated SQL solver.
Stars: ✭ 533 (-32.36%)
Mutual labels:  verification
Smsgate
这是一个在netty4框架下实现的三网合一短信网关核心框架,支持(cmpp/smpp3.4/sgip1.2/smgp3) 短信协议解析,支持长短信合并和拆分,也支持wap短信和闪信。
Stars: ✭ 502 (-36.29%)
Mutual labels:  sms
Twilio Csharp
Twilio C#/.NET Helper Library for .NET Framework 3.5+ and supported .NET Core versions
Stars: ✭ 541 (-31.35%)
Mutual labels:  sms
Glass Isc Dhcp
Glass - ISC DHCP Server Interface
Stars: ✭ 486 (-38.32%)
Mutual labels:  sms
Telegram Sms
An SMS-forwarding Robot Running on Your Android Device.
Stars: ✭ 641 (-18.65%)
Mutual labels:  sms
Api Boot
“ ApiBoot”是为接口服务而生的,基于“ SpringBoot”完成扩展和自动配置,内部封装了一系列的开箱即用Starters。
Stars: ✭ 460 (-41.62%)
Mutual labels:  sms
Phone
With a given country and phone number, validate and reformat the mobile phone number to the E.164 standard. The purpose of this is to allow us to send SMS to mobile phones only.
Stars: ✭ 531 (-32.61%)
Mutual labels:  sms
Playsms
playSMS is a web interface for SMS gateways and bulk SMS services
Stars: ✭ 569 (-27.79%)
Mutual labels:  sms
School Management System
Another School Management System
Stars: ✭ 520 (-34.01%)
Mutual labels:  sms
Sms Boom
利用chrome的headless模式,模拟用户注册进行短信轰炸机
Stars: ✭ 507 (-35.66%)
Mutual labels:  sms

SmsVerifyCatcher

codebeat badge

alt tag

A library for implementing interception of SMS with a verification code using a few lines of code.

Who we are

Need iOS and Android apps, MVP development or prototyping? Contact us via [email protected]. We develop software since 2009, and we're known experts in this field. Check out our portfolio and see more libraries from stfalcon-studio.

Download

  1. Add jitpack to the root build.gradle file of your project at the end of repositories.
allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}
  1. Add the dependency
dependencies {
  ...
  implementation 'com.github.stfalcon-studio:SmsVerifyCatcher:[last_version]'
}  

Usage

Add permissions to AndroidManifest.xml:

  <uses-permission android:name="android.permission.RECEIVE_SMS" />
  <uses-permission android:name="android.permission.READ_SMS" />

Init SmsVerifyCatcher in method like onCreate activity:

    smsVerifyCatcher = new SmsVerifyCatcher(this, new OnSmsCatchListener<String>() {
        @Override
        public void onSmsCatch(String message) {
            String code = parseCode(message);//Parse verification code
            etCode.setText(code);//set code in edit text
            //then you can send verification code to server
        }
    });

Override activity lifecicle methods:

    @Override
    protected void onStart() {
        super.onStart();
        smsVerifyCatcher.onStart();
    }

    @Override
    protected void onStop() {
        super.onStop();
        smsVerifyCatcher.onStop();
    }

    /**
     * need for Android 6 real time permissions
     */
    @Override
    public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {
        super.onRequestPermissionsResult(requestCode, permissions, grantResults);
        smsVerifyCatcher.onRequestPermissionsResult(requestCode, permissions, grantResults);
    }

You can set phone number filter:

    smsVerifyCatcher.setPhoneNumberFilter("777");

or set message filter via regexp:

   smsVerifyCatcher.setFilter("<regexp>");

That's all! Take a look at the sample project for more information

License

Copyright 2017 stfalcon.com

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].