Latest 1.7
License Custom
Platforms ios 8.0, requires ARC
Dependencies AFNetworking, UICKeyChainStore
Frameworks CoreTelephony

CocoaPods Compatible
Carthage Compatible

Installation with CocoaPods


To integrate Boomware into your Xcode project using CocoaPods, specify it in your Podfile:

source ''
platform :ios, '8.0'

target 'YourTargetName' do
pod 'Boomware'

Then, run the following command:

$ pod install

Installation with Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate Boomware into your Xcode project using Carthage, specify it in your Cartfile:

github "boomware/boomware-ios"
github "AFNetworking/AFNetworking" ~> 3.0
github "kishikawakatsumi/UICKeyChainStore"

Run carthage to build frameworks and drag frameworks Boomware.framework, AFNetworking.framework and UICKeyChainStore.framework into your Xcode project.
Probably you have to add $(SRCROOT)/Carthage/Build/iOS/ to Build Settings -> Runpath Search Paths


Init SDK

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Init Boomware SDK
    [BWBoomware setKey:@"48868d4f42e1a29ec0134d254:42e1a29ec0134d254d:8f9ad63d594685df7d"];
    return YES;

Verification Request

[BWBoomware verifyNumber:@"+188811100011" method:BWBoomwareMethodSMS completion:^(NSError * _Nullable error) {
    if (! error) {
    // Number verification successfylly requested

Complete Verification

NSString *PINCode = @"7777";

[BWBoomware confirmWithCode:PINCode completion:^(NSString * _Nullable phoneNumber, NSString * _Nullable requestId, NSError * _Nullable error) {

    if (! error) {
        // Phone number successfully verified


Handling Push Notifications

Set a device token to Boomware SDK

- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
    // Set device token
    [BWBoomware setDeviceToken:deviceToken];

Handle remote notification

- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
    // Check that the notification send by boomware
    if ([BWBoomware isBoomwarePushNotification:userInfo]) {
        // Handle it
        [BWBoomware handlePushNotification:userInfo];

Latest podspec

    "name": "Boomware",
    "version": "1.7",
    "summary": "Phone number verification",
    "homepage": "",
    "license": {
        "type": "Custom",
        "file": "LICENSE"
    "authors": {
        "Sergey Popov": "[email protected]"
    "source": {
        "http": ""
    "requires_arc": true,
    "platforms": {
        "ios": "8.0"
    "frameworks": "CoreTelephony",
    "vendored_frameworks": "Boomware.framework",
    "dependencies": {
        "AFNetworking": [
            "~> 3.2"
        "UICKeyChainStore": []

Pin It on Pinterest

Share This