PushBot 1.0.4

PushBot 1.0.4

Sally Ahmed 维护。



PushBot 1.0.4

  • Sally Ahmed

PushBot

PushBot 推送通知服务配置(iOS)master 分支 CocoaPods,只需将其添加到您的 Podfile 中

pod 'PushBot'

仅放入一小段代码

`import PushBot'

 func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.
        PushBot.shared.initWithAppId({APIKey}, launchOptions:launchOptions )
        }
        
 func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data)
    {
        PushBot.shared.setDeviceToken(deviceToken)
    }

注意

对于隐藏源代码 -> feature/HiddeSourceCode 分支 对于 React Native 绑定 -> feature/addReactNativePort 分支

Swift 版本支持

swift 版本 4.2 通过 xcode 10.1

技术图解

Screenshot