bodsquare_sdk

Creator: coderz1093

Last updated:

0 purchases

bodsquare_sdk Image
bodsquare_sdk Images
Add to Cart

Description:

bodsquare sdk

A wrapper around the Bodsquare communication APIs.

Bodsquare allows for businesses to follow up with their customers from the moment they contact them until the end, regardless of the platform used.
These include Whatsapp, Facebook and Instagram integrations.

Features #

Add your facebook, instagram and whatsapp accounts as channels.
Chat with customers from connected channels.

Getting started #
Add as a dependency:
bodsquare_sdk: latest_version
copied to clipboard
ANDROID SETUP:
Add the folllowing to the android > app > src > main > AndroidManifest.xml file.
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:scheme="bodsquaresocial"
android:host="social-page.bodsquare.com"/>

</intent-filter>
copied to clipboard
IOS SETUP:
Add the following to the Info.plist file.
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>social-page.bodsquare.com</string>
<key>CFBundleURLSchemes</key>
<array>
<string>bodsquaresocial</string>
</array>
</dict>
</array>

<key>NSCameraUsageDescription</key>
<string>camera</string>
<!-- Permission options for the `microphone` group -->
<key>NSMicrophoneUsageDescription</key>
<string>microphone</string>
<!-- Permission options for the `photos` group -->
<key>NSPhotoLibraryUsageDescription</key>
<string>photos</string>

copied to clipboard
Usage #
Import into your code:
import 'package:bodsquare_sdk/bodsquare_sdk.dart';
copied to clipboard
And use in any place within a widget to call the bodsquare_Sdk
final BodsquareSdk bodsquareSdk = BodsquareSdk();

ElevatedButton(
onPressed: (() {
bodsquareSdk.getChannels(
context: context,
email: '[email protected]',
userName: 'username');
}),


copied to clipboard



Fields
Type
Description




context
BuildContext
A handle to the location of a widget in the widget tree. Required.


email
String
Use for the initializing a user in the sdk. Required.


userName
String
Also use for initializing and to log in a user. Required.


useProduction
bool
Bodsquare_sdk provides a default test environment when an app is yet to be release and uses the production environment on release builds. Set this to true to test using the production environment. Defaults to false.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.