RumbleStrip is a lightweight feedback tool which allows your users to 'Rage Shake' to give feedback.
Once you have the pod installed, usage is very simple:
-
Import RumbleStrip in your AppDelegate
#import <RumbleStrip/RumbleStrip.h>
-
Enable RumbleStrip
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { [RumbleStrip enableRumble]; // or RumbleStrip *feedback = [RumbleStrip enableRumble]; [feedback setSubject:@"Test Subject"]; [feedback setRecipients:@[ @"[email protected]" ]; return YES; }
Once you have RumbleStrip installed and enabled you can "shake" to device to initiate RumbleStrip.
At present it will show a dialog to the user asking if they would like to provide feedback, if they say yes they will be directed to an e-mail template with a screenshot and other diagnostic information attached.
Once installed (either manually or with CocoaPods) using RumbleStrip is nice and easy:
-
Import RumbleStrip where you intend to initiate it (usually where your App Delegate function is)
import RumbleStrip
-
Enable RumbleStrip
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -> Bool { // Enable RumbleStripe let rumble = RumbleStrip.enableRumble() rumble.recipients = ["[email protected]"] rumble.subject = "Feedback for your app" // or RumbleStrip.enableRumble() }
To run the example project, clone the repo, and run pod install
from the Example directory first.
RumbleStrip doesn't have many requirements other than a couple of Apple provided libraries.
- iOS8 or higher - this is to support Frameworks (for Swift)
- MessageUI framework
- Audiotoolbox framework
RumbleStrip is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "RumbleStrip"
David Rothera, [email protected]
RumbleStrip is available under the MIT license. See the LICENSE file for more info.