The Forsta Digital Feedback Mobile SDK provides seamless in-app feedback for any touch point within your mobile application.
Everything you need to get started with integration can be found in the repository wiki.
-
Android API Level 21 or higher (Android 5.0 and above)
-
AndroidX enabled
- More information about setup and migration for AndroidX can be found here
-
Dependencies
These dependencies will be automatically downloaded by Gradle sync
- AndroidX
- Gson (2.10)
- Mozilla Rhino (1.7.12)
Add the SDK dependency to the application level build.gradle
file.
// build.gradle (Module)
dependencies {
...
implementation 'com.confirmit.mobilesdk:mobilesdk:3.13.0'
}
Once you make these two changes, simply refresh / sync your gradle dependencies.
If you are using R8, the shrinking and obfuscation rules will be included automatically.
ProGuard users must manually add following rules.
# Rhino
-keep class org.mozilla.javascript.** { public *; }
-dontwarn org.mozilla.javascript.**
- Xcode 14.3 or higher
- Target of iOS 11 or higher
- Swift 5.8 or higher
Step 1. Add package URL and dependency to Package.swift
// swift-tools-version:5.8
import PackageDescription
let package = Package(
name: "<Your Product Name>",
dependencies: [
.package(url: "https://github.com/ForstaGlobal/DigitalFeedbackMobileSDK.git", .upToNextMajor(from: "3.13.0"))
],
targets: [
.target(
name: "<Your Target Name>",
dependencies: [
.product(name: "ConfirmitMobileSDK", package: "DigitalFeedbackMobileSDK")
]
),
]
)
Step 2. Run swift package resolve
Step 1. Add local pod path to the Podfile
.
use_frameworks!
platform :ios, '11.0'
# Your target
target 'MyApp' do
# ... others pods
pod 'ConfirmitMobileSDK', '3.13.0'
end
Step 2. Run pod update
.
Step 1. Clone Github repository.
Step 2. If the Framework folder doesn't already exist, right-click on your project in the project navigator (top-most entry), and select “New Group”. Name the new group Frameworks
.
Step 3. Drag and drop it from Finder into the Frameworks folder. Make sure that the destination is just under the Frameworks folder before dropping.
Step 4. Then, make sure the following options are selected for adding files:
- Both “Copy items if needed” and “Create groups” should be checked and selected.
- Click Finish.
- Platform
- react-native 0.72.4 or higher
- Dependencies
- react-native-webview (>=13.6.2)
Step 1. NPM install packages
react-native-webview needs to be installed manually before the SDK, or else the native modules will have to be linked up manually.
// Please install react-native-webview manually
// npm install react-native-webview
npm install @forstaglobal/react-native-mobilesdk
Step 2. Run pod install
inside ios folder