Swiftpack.co - ForstaGlobal/DigitalFeedbackMobileSDK as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by ForstaGlobal.
ForstaGlobal/DigitalFeedbackMobileSDK 3.7.0
The Forsta Digital Feedback Mobile SDK provides seamless in-app feedback for any touch point within your mobile application.
⭐️ 0
🕓 2 days ago
iOS
.package(url: "https://github.com/ForstaGlobal/DigitalFeedbackMobileSDK.git", from: "3.7.0")

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.7.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 13 or higher
  • Target of iOS 12 or higher
    • For earlier iOS version, please use v3.5.0
  • Swift 5.5 or higher

Installation

1. Using Swift Package Manager

Step 1. Add package URL and dependency to Package.swift

// swift-tools-version:5.5

import PackageDescription

let package = Package(
    name: "<Your Product Name>",
    dependencies: [
		.package(url: "https://github.com/FortaGlobal/DigitalFeedbackMobileSDK.git", .upToNextMajor(from: "3.7.0"))
    ],
    targets: [
        .target(
		name: "<Your Target Name>",
		dependencies: ["ConfirmitMobileSDK"]),
    ]
)

Step 2. Run swift package resolve

2. Using CocoaPods

Requires CocoaPods 1.10.0 or higher

Step 1. Add local pod path to the Podfile.

use_frameworks!
platform :ios, '12.0'

# Your target
target 'MyApp' do
  # ... others pods
  pod 'ConfirmitMobileSDK', '3.7.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.

GitHub

link
Stars: 0
Last commit: 3 days ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

3.7.0
3 days ago

Changes

  • Moved to new Forsta Github
  • Rebranded documentation to Forsta

Breaking / Dependency Changes (iOS)

  • Update minimum Xcode version to 13 (Swift: 5.5)
  • Update minimum Cocoapod version to 1.10.0

Feature

  • Support auto dialog closing for WebView survey integration
  • To implement auto-close feature in own WebView, please check here

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics