WrapFast Documentation

Get Started

In-App Purchases

Firebase

WishKit

AI Backend

Xcode Project

API Client

Support

WrapFast integrates the ability to collect user’s feedback to implement new features. You can find it in the iOS app within the Suggest Features row in the Settings tab.

To do so, WrapFast relies on WishKit: an awesome and extremely simple-to-implement framework, created by the fellow indie developer @MartinLasek

If you like to leverage this feature, follow this steps:

Creating a WishKit Project

Untitled

Adding the API Key

In the new project created, we can copy the corresponding API Key:

Untitled

Go to Xcode > Constants.swift and paste the API Key in Const.Wishkit.key

enum WishKit {
        static let key = "YOUR_WISHKIT_API_KEY"
    }

You can go to the Dashboard and test feature requests and run the app to check they are fetching OK.

Untitled

Customizing the WishKit View

The WishKit view is highly customizable to match your branding needs.

You can find a function configuring all possible values WrapfastApp.setupWishkit()

private func setupWishKit() {
        WishKit.configure(with: Const.WishKit.key)
        
        // Show the status badge of a feature request (e.g. pending, approved, etc.).
        WishKit.config.statusBadge = .show

        // Shows full description of a feature request in the list.
        WishKit.config.expandDescriptionInList = true

        // Hide the segmented control.
        WishKit.config.buttons.segmentedControl.display = .hide

        // Remove drop shadow.
        WishKit.config.dropShadow = .hide

        // Hide comment section
        WishKit.config.commentSection = .hide

        // Position the Add-Button.
        WishKit.config.buttons.addButton.bottomPadding = .large

        // This is for the Add-Button, Segmented Control, and Vote-Button.
        WishKit.theme.primaryColor = .brand

        // Set the secondary color (this is for the cells and text fields).
        WishKit.theme.secondaryColor = .set(light: .brand.opacity(0.1), dark: .brand.opacity(0.05))

        // Set the tertiary color (this is for the background).
        WishKit.theme.tertiaryColor = .setBoth(to: .customBackground)

        // Segmented Control (Text color)
        WishKit.config.buttons.segmentedControl.defaultTextColor = .setBoth(to: .white)

        WishKit.config.buttons.segmentedControl.activeTextColor = .setBoth(to: .white)

        // Save Button (Text color)
        WishKit.config.buttons.saveButton.textColor = .set(light: .white, dark: .white)

    }

Tweak them according to your needs. If you have any doubt, you can check the documentation here.

← Previous

Firebase

Next →

AI Backend

On this page