Joke Collection Website - Blessing messages - How to use smsverify module in apicloud
How to use smsverify module in apicloud
1, first go to mob official website to register an account;
2. Enter the SMS management background, add Android and iOS applications respectively, and get the AppKey and AppSecret of the applications (the previously created applications cannot use this module because the SDK of this module is 2.0+, which is not compatible with the applications created in the SDK 1.x era. );
3. Search for smsVerify in the module list of APICloud application console and add it;
4. Open your project config.xml file in source code mode and add the configuration of smsVerify module. The configuration content is the AppKey and AppSecret obtained above, and the format is as follows:
& ltfeature name="smsVerify " >
& ltparam name = " Android _ app _ key " value = " e 2 FFA 3 HSE 299 "/& gt;
& ltparam name = " Android _ app _ secret " value = " 7a 0 ejgd 7 df 95607464 ea AEC 5c 0 f 9 B2 b 9 "/& gt;
& ltparam name = " IOs _ app _ key " value = " e 2 fhsc 7 fbw 00 "/& gt;
& ltparam name = " IOs _ app _ secret " value = " db 5 abtd 993 1e 32 1 1932 DDE 17c 94c 30 AE "/& gt;
& lt/feature & gt;
Copy code
5.SVN submits the source code to the cloud of APICloud;
6. Compile the custom loader; On the APICloud studio;
7. Now you can use the smsverify module for development, but it should be noted that before calling the SMS, voice and verification interface, you must first call the registration interface to register the application (only once);
8. The new smsVerify module (1. 1.0 and above) supports the "smart verification" function on the SMS interface Android, which can be judged by the true|false of the smart parameter in the callback. Because iOS doesn't support this feature, Smart always returns false on iOS. Smart verification will not send short messages, and the mobile phone number developer who passes smart verification can directly let the user jump to the interface where the verification is successful;
PS: The valid duration of the verification code is 5 minutes.
- Previous article:People's Daily Good Night Program Deadline
- Next article:How to change the mailing address on WeChat of HSBC Credit Card?
- Related articles
- If I always send messages to my boyfriend every day, will he get bored and stop loving me?
- Why do spam messages always bother me?
- Illegal parking is recorded to remind you to leave immediately.
- Greetings about Mid-Autumn Festival are simple.
- How does iphone clean up storage space?
- How can iphone xr make both primary and secondary cards receive SMS?
- what is love ?
- How does China Mobile redeem points by SMS?
- In 2023, institutions in Wanzhou District of Chongqing announced the recruitment of outstanding village cadres and local talents in the village?
- How to open the night traffic of Yunnan Mobile 10 yuan 5G traffic?