Latest 1.0.0
Homepage https://github.com/ricsantos/RSEmailFeedback
License MIT
Platforms ios 7.0, requires ARC
Dependencies GBDeviceInfo
Authors

CI Status
Version
License
Platform

A simple way to get direct feedback from your App users is via email. This component simplifies the presentation of the email composer by adding blocks, and pre-populates the email message body with details about the device, OS and app version.

Installation

RSEmailFeedback is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'RSEmailFeedback'

Usage

(see sample Xcode project in /Demo)

Create an instance of RSEmailFeedback and present it by passing a reference the the visible view controller, and an optional block to run on completion.

Objective C:

RSEmailFeedback *emailFeedback = [[RSEmailFeedback alloc] init];
emailFeedback.toRecipients = @[@"[email protected]"];
emailFeedback.subject = @"Feedback for RSEmailFeedback";
[emailFeedback showOnViewController:self withCompletionHandler:^(MFMailComposeResult result, NSError *error) {
    if (result == MFMailComposeResultSent) {
        NSLog(@"email sent 😁");   
    }
}];

Swift:

let emailFeedback = RSEmailFeedback()
emailFeedback.toRecipients = ["[email protected]"]
emailFeedback.subject = "Feedback for RSEmailFeedback"
emailFeedback.showOnViewController(self, withCompletionHandler: nil)

License

RSEmailFeedback is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "RSEmailFeedback",
    "version": "1.0.0",
    "summary": "An iOS component to present the email compose sheet with device and app info in the body.",
    "description": "A simple way to get direct feedback from your App users is via email. This component simplifies the presentation of the email composer by adding blocks, and pre-populates the email message body with details about the device, OS and app version.",
    "homepage": "https://github.com/ricsantos/RSEmailFeedback",
    "license": "MIT",
    "authors": {
        "Ric Santos": "[email protected]"
    },
    "source": {
        "git": "https://github.com/ricsantos/RSEmailFeedback.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "public_header_files": "Pod/Classes/**/*.h",
    "dependencies": {
        "GBDeviceInfo": [
            "~> 4.2"
        ]
    }
}

Pin It on Pinterest

Share This