react-native-sms-sdk

1.0.2 • Public • Published

react-native-sms-sdk

封装的mob sms sdk

Install

npm install --save react-native-sms-sdk

IOS

Manual Installation

  1. In the XCode's "Project navigator", right click on your project's Libraries folder ➜ Add Files to <...>
  2. Go to node_modules ➜ react-native-sms-sdk ➜ ios ➜ select ReactNativeSMSSdk.xcodeproj
  3. Add libReactNativeSMSSdk.a to Build Phases -> Link Binary With Libraries
  4. Add MOBFoundation.framework,MOBFoundationEx.framework,SMS_SDK.framework to Build Phases ➜ Link Binary With Libraries
  5. Add $(PROJECT_DIR)/../node_modules/react-native-sms-sdk/ios/SMS_SDK to Build Settings ➜ Framework Search Paths
  6. Goto Build Phases,and click "+",and click "Add Other...",click " Shift+Cmd+G",and input "/usr/lib",click "GO",add libz.dylib,libicucore.dylib,libstdc++.dylib
  7. Goto Build Phases,and click "+",add MessageUI.framework,JavaScriptCore.framework,SystemConfiguration.framework,CoreTelephony.framework,AdSupport.framework.
  8. In the XCode's "Project navigator",click on your project's Libraries folder ➜ReactNativeSMSSdk.xcodeproj➜Build Phases,remove libicucore.A.dylib,libz.1.1dylib,libstdc++.6.0.9.dylib
  9. Compile and have fun!

Readme

Keywords

Package Sidebar

Install

npm i react-native-sms-sdk

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • wzc5840