socket_mobile

Creator: coderz1093

Last updated:

0 purchases

TODO
Add to Cart

Description:

socket mobile

socket_mobile #
Capture SDK of Socket Mobile for Flutter using native SDK.
Installation #
Be sure to read requirements of the native SDK:
https://docs.socketmobile.com
Add this to your package's pubspec.yaml file:
dependencies:
socket_mobile: ^2.0.0
copied to clipboard
iOS #
In the Podfile uncomment:
platform :ios, '10.0'
copied to clipboard
In the Info.plist add:
<key>UISupportedExternalAccessoryProtocols</key>
<array>
<string>com.socketmobile.chs</string>
</array>
copied to clipboard
Android #
You must have installed the Campanion application.
More informations here: https://www.socketmobile.com/support/application-mode-for-android-8
In android/app/src/main/AndroidManifest.xml add:
<application android:networkSecurityConfig="@xml/network_security_config">
<uses-permission android:name="android.permission.BLUETOOTH" />
copied to clipboard
In android/app/src/main/res/xml/network_security_config.xml add:
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<base-config cleartextTrafficPermitted="false" />
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="false">localhost</domain>
<domain includeSubdomains="false">127.0.0.1</domain>
</domain-config>
</network-security-config>
copied to clipboard
Usage #
SocketMobile.shared.configure(
developerId: appConfiguration.socketDeveloperId,
appKeyIOS: appConfiguration.iOSSocketMobileAppKey,
appIdIOS: appConfiguration.iOSSocketMobileAppId,
appKeyAndroid: appConfiguration.androidSocketMobileAppKey,
appIdAndroid: appConfiguration.androidSocketMobileAppId,
);
copied to clipboard
Author #

Jonathan VUKOVICH-TRIBOUHARET

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.