DigitalFeedbackMobileSDK

3.11.0

The Forsta Digital Feedback Mobile SDK provides seamless in-app feedback for any touch point within your mobile application.
ForstaGlobal/DigitalFeedbackMobileSDK

What's New

3.11.0

2024-04-09T21:46:32Z

Breaking / Dependency Changes (iOS)

  • Following QuestionText methods are removed:
    • QuestionText.getAttributed() -> NSAttributedString
    • QuestionText.getAttributed(size: CGFloat, color: String) -> NSAttributedString
  • Following QuestionText methods are added:
    • QuestionText.getHtml() -> String
    • QuestionText.getHtml(size: CGFloat, color: String) -> String

Developer's note

In QuestionText, the SDK provided helper methods for NSAttributedString.
However, due to recent reports of random crashes caused by NSAttributedString, its internal processing has been removed.

Feature

  • [iOS] Implemented privacy manifest file as per iOS requirements to document file API usage.

Digital Feedback Mobile SDK

The Forsta Digital Feedback Mobile SDK provides seamless in-app feedback for any touch point within your mobile application.


Documentation

Everything you need to get started with integration can be found in the repository wiki.


Setup (Android)

Prerequisites

  • 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

Installation

Add the SDK dependency to the application level build.gradle file.

// build.gradle (Module)
dependencies {
    ...
    implementation 'com.confirmit.mobilesdk:mobilesdk:3.11.0'
}

Once you make these two changes, simply refresh / sync your gradle dependencies.

R8 / ProGuard

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.**

Setup (iOS)

Prerequisites

  • Xcode 14.3 or higher
  • Target of iOS 11 or higher
  • Swift 5.8 or higher

Installation

1. Using Swift Package Manager

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.11.0"))
    ],
    targets: [
        .target(
		    name: "<Your Target Name>",
		    dependencies: [
		        .product(name: "ConfirmitMobileSDK", package: "DigitalFeedbackMobileSDK")
		    ]
		),
    ]
)

Step 2. Run swift package resolve

2. Using CocoaPods

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.11.0'
end

Step 2. Run pod update.

3. Manual Method

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.

Setup (React Native)

Prerequisites

  • Platform
    • react-native 0.72.4 or higher
  • Dependencies
    • react-native-webview (>=13.6.2)

Installation

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

Description

  • Swift Tools 5.8.0
View More Packages from this Author

Dependencies

  • None
Last updated: Tue Apr 09 2024 19:19:24 GMT-0900 (Hawaii-Aleutian Daylight Time)