1.0.2 • Published 7 years ago

react-native-sms-sdk v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

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!