nimbasms_flutter 1.0.0
nimbasms_flutter: ^1.0.0 copied to clipboard
Flutter plugin for interacting with the Nimba SMS API
nimbasms_flutter #
nimbasms_flutter
is a Flutter plugin for interacting with the Nimba SMS API. It allows you to send SMS, manage contacts, retrieve messages, and perform other SMS-related operations using the Nimba SMS service.
Features #
- ✅ Send SMS
- ✅ Retrieve all messages
- ✅ Retrieve a specific message by ID
- ✅ Retrieve account details
- ✅ Retrieve the list of contacts
- ✅ Create a new contact
- ✅ Retrieve the list of groups
- ❌ Create a verification
- ❌ Request verification
Tested Platforms and Status #
- ✅ iOS - Tested and working
- ✅ macOS - Tested and working
- ✅ Android - Tested and working
- ❌ Windows - Not tested yet
- ❌ Linux - Not tested yet
- ✅ Web - Tested and working
Getting Started #
Installation #
Add nimbasms_flutter
as a dependency in your pubspec.yaml
file:
dependencies:
flutter:
sdk: flutter
nimbasms_flutter: ^1.0.0
Platform-specific Setup #
To enable network access for your application, you need to configure specific settings for iOS, macOS, and Android.
iOS and macOS
To enable network access for your application on iOS and macOS, you need to modify the entitlement files and add the necessary permissions:
Update Entitlements:
- Open the
ios/Runner/Runner.entitlements
file for iOS and themacos/Runner/DebugProfile.entitlements
andmacos/Runner/Release.entitlements
files for macOS. - Add the following lines to allow your application to make network requests:
<key>com.apple.security.network.client</key>
<true/>
Android
For Android, you need to add the Internet permission to allow your application to access the network.
- Open the
android/app/src/main/AndroidManifest.xml
file. - Add the following line inside the
<manifest>
tag to grant Internet access:
<uses-permission android:name="android.permission.INTERNET" />