All Projects → yahoojapan → AppFeedback-ios

yahoojapan / AppFeedback-ios

Licence: MIT license
📸 You can post feedback messages and screenshots to Slack from your iOS app! 🎥

Programming Languages

objective c
16641 projects - #2 most used programming language
swift
15916 projects
ruby
36898 projects - #4 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to AppFeedback-ios

Tinycrayon Ios Sdk
A smart and easy-to-use image masking and cutout SDK for mobile apps.
Stars: ✭ 1,767 (+4430.77%)
Mutual labels:  ios-sdk
shake-ios
Bug and crash reporting SDK for iOS apps.
Stars: ✭ 25 (-35.9%)
Mutual labels:  ios-sdk
iOS-10-Sampler
Code examples for the new features of iOS 10.
Stars: ✭ 72 (+84.62%)
Mutual labels:  ios-sdk
Docviewer
文档/文件查看器(支持本地或者其他app分享过来的word、excel、pdf、rtf等格式文件)
Stars: ✭ 155 (+297.44%)
Mutual labels:  ios-sdk
Firebase Ios Sdk
Firebase iOS SDK
Stars: ✭ 3,309 (+8384.62%)
Mutual labels:  ios-sdk
CrossMobile
Create native iOS, Android, Windows Phone and Desktop applications in Java. Write it once, and produce sophisticated multiplatform applications.
Stars: ✭ 48 (+23.08%)
Mutual labels:  ios-sdk
Floatingball
悬浮球/悬浮按钮/辅助按钮(类似于iOS系统自带的AssistiveTouch/京东/聚划算/建行等的辅助按钮)
Stars: ✭ 126 (+223.08%)
Mutual labels:  ios-sdk
ans-ios-sdk
Analysys iOS SDK
Stars: ✭ 29 (-25.64%)
Mutual labels:  ios-sdk
extensions-kit
📦 Collection of Swift+Apple Frameworks extensions for speeding up software development [iOS & iPadOS].
Stars: ✭ 71 (+82.05%)
Mutual labels:  ios-sdk
tuyasmart home ios sdk
Tuya Smart iOS Home SDK
Stars: ✭ 48 (+23.08%)
Mutual labels:  ios-sdk
Rdvideoeditsdk For Ios
iOS Video Edit SDK; iOS Video Edit SDK: Video Cut, Video Join, Video Watermark, Video Subtitle, Video Rotate...
Stars: ✭ 182 (+366.67%)
Mutual labels:  ios-sdk
Instabug Ios
In-app feedback and bug reporting tool for apps.
Stars: ✭ 244 (+525.64%)
Mutual labels:  ios-sdk
unity-arkit-charts-demo
iOS 11 ARKit Charts Demo
Stars: ✭ 13 (-66.67%)
Mutual labels:  ios-sdk
Vassonic
VasSonic is a lightweight and high-performance Hybrid framework developed by tencent VAS team, which is intended to speed up the first screen of websites working on Android and iOS platform.
Stars: ✭ 11,466 (+29300%)
Mutual labels:  ios-sdk
ShopCarAnimation
购物车类的抛物线动画(支持上抛或者下抛) && 阻尼动画(弹球动画)
Stars: ✭ 55 (+41.03%)
Mutual labels:  ios-sdk
Mpcolortools
A collection of tools for handling colors on iOS SDK
Stars: ✭ 128 (+228.21%)
Mutual labels:  ios-sdk
iOS-Monitor-Resources
对各厂商的 iOS SDK 性能监控方案的整理和收集后的资源
Stars: ✭ 31 (-20.51%)
Mutual labels:  ios-sdk
GoogleSignIn-iOS
Enables iOS and macOS apps to sign in with Google.
Stars: ✭ 198 (+407.69%)
Mutual labels:  ios-sdk
powerauth-mobile-sdk
PowerAuth Mobile SDK for adds capability for authentication and transaction signing into the mobile apps (ios, watchos, android).
Stars: ✭ 27 (-30.77%)
Mutual labels:  ios-sdk
connect-sdk-client-ios
Ingenico Connect iOS Objective-C Client SDK
Stars: ✭ 17 (-56.41%)
Mutual labels:  ios-sdk

Carthage compatible License Platform Build Status

AppFeedback

You can post feedback messages and screenshots to Slack from your iOS app!

It is very useful for internal test!

How to feedback

Introducing this SDK, a floating icon of feedback is displayed. Tapping it, a feedback dialog is displayed.

Feature

  • Show feedback button
  • Two fingers long press to show feedback dialog
  • Take a screenshot & Record screen

Requirements

  • iOS 9+

Usage

Swift

1. Incorporate SDK with Carthage

Carthage

github "https://github.com/yahoojapan/AppFeedback-ios"

If you do not want to include SDK framework binaries in your application, please remove it from Copy Frameworks by looking at the configuration for the following.

2. import header

import Bridging Header

#import <AppFeedback/AppFeedback.h>

3. Flag definition in configuration to enable SDK

Please control so that it applies only to internal distribution so that it will not be effective in production application

First define flags in target configuration

4. Describe SDK initialization process to didFinishLaunchingWithOptions

Describe initialization processing of SDK to "Describe SDK initialization process to didFinishLaunchingWithOptionsdidFinishLaunchingWithOptions"

Initialize the SDK when launching the application. Make sure it is enabled only when the flag you set above is defined.

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
    // ……
    
    #if ENABLE_APP_FEEDBACK
        AppFeedback.configure(withSlackToken:"<your token>", slackChannel:"<slack channel id>")
    #endif

    // ……
}

To hide the feedback icon, please support display with gesture.

        AppFeedback.readyFeedbackGesture()     // Display feedback dialog with two fingers long tap
        AppFeedback.readyScreenShot()          // Display feedback dialog when shooting screenshot

5. Add action to set SDK to Fastfile

Write setup_app_feedback_sdk in the fastlane build before build_app. Please specify project, scheme, configuration to use for build.

This action writes the slack api token and channel id to your Info.plist.

    setup_app_feedback_sdk(
      project: 'MyApp.xcodeproj',
      scheme: 'MyApp',
      configuration: 'AppFeedback',
      slack_api_token: 'your-slack-token', # Preferably configure as ENV['SLACK_API_TOKEN']
      slack_channel: 'your-slack-channel-id'
    )

    build_app(...)
    run_tests(...)

6. Build with Screwdriver

The SDK is built in the application for internal distribution built with Screwdriver.

API

AppFeedback

func readyFeedbackGesture()

Display a feedback dialog with two finger long press gestures.

func readyScreenShot()

Display a feedback dialog when shooting screenshots.

func startRecording()

Start screen recording (movie capture).

func endRecording()

End screen recording (movie capture).

var isHidden: Bool { get set }

Boolean value as to whether to display the feedback button. Default is true.

*It is always invisible because there is a problem with the display of buttons under iOS 9.

func showFeedbackDialog()

Display the feedback dialog immediately.

Please use this method when displaying feedback dialog by custom gesture etc created by yourself.

func yourLongPressedGesture(sender: UILongPressGestureRecognizer) {
    AppFeedback.showFeedbackDialog()    
}

func configure(withSlackToken:slackChannel:)

Set your slack token and channel.

func configure(withSlackChannel)

Set your slack channel. Please set the slack token with fastlane setup_app_feedback_sdk action.

var feedbackCategories: [String] { get set }

List of feedback categories.

The default is "Bug" "Request" "Question" "Design" "Others".

var slackApiUrl: String { get set }

Slack API URL (default: https://slack.com/api)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].