The following binding are for the Intercom SDK.
Documentation for using the library inside an Android project can be found here.
The source for the SDK can be found here.
The bindings were generated for the version 9.1.0.
The library supports GCM push notifications but only the Firebase push notifications binding has been generated. The GCM binding should be generated if needed.
We generated the FCM bindings but never got the chance to test it as this is only needed if you app does not include custom FirebaseInstanceIdService and FirebaseMessagingService services.
Add a reference to the following packages:
- Uno.Binding.Intercom.Android
- Uno.Binding.Intercom.Android.Fcm -> Optional: this is needed if you don't have a custom Firebase services. (See note above)
We include the INTERNET permission by default as we need it to make network requests:
<uses-permission android:name="android.permission.INTERNET"/>
Optional permissions:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.MANAGE_DOCUMENTS"/>
READ_EXTERNAL_STORAGE and MANAGE_DOCUMENTS are used for attachments.
The necessary GCM permissions (WAKE_LOCK and RECEIVE) are also included by default in the main package.
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
You can also include VIBRATE to enable vibration in push notifications:
<uses-permission android:name="android.permission.VIBRATE"/>
Documentation for using the library inside an iOS project can be found here.
The source for the SDK can be found here.
By default inside Intercom.framework folder, we use ios-arm64_armv7 to be able to deploy on physical device. If you need to deploy on Simulator, you will need to replace the content with ios-arm64_i386_x86_64-simulator.
The bindings were generated for the version 9.3.1.
To upgrade to v9.0.0 please follow the migration guide.
Add a reference to the following packages:
- Uno.Binding.Intercom.iOS
When installing Intercom, you'll need to make sure that you have a NSPhotoLibraryUsageDescription
entry in your Info.plist
.
This is required by Apple for all apps that access the photo library. It is necessary when installing Intercom due to the image upload functionality. Users will be prompted for the photo library permission only when they tap the image upload button.