Share via Email

buzztouch plugin: Share via Email
Version: v1.5
This feature allows you to display the devices native email compose sheet with a pre-filled message encouraging end users to share with friends.
works on iOS iOS
works on Android Android
Developer Info
Latest Review
Pointerbuzzbt | 04/23/13 (v1.4)
Excellent!
Screenshots
More Information
This action launches the device's native email compose sheet. No iOS or Android
class files need to be added to the project. If the JSON data passed to the method
includes emailSubject, emailToAddress, or emailMessage the compose sheet is pre-filled with
the values.

iOS
-----------------
[BT_viewController handleTapToLoadScreen] fires the
[BT_viewControllerManager sendEmailWithScreenData] method.
Not all iOS devices can send email, including most simulators.

Android
-----------------
BT_act_controller.loadScreenObject fires the
BT_act_controller.sendEmailWithScreenData method.
Not all Android devices can send email, including most simulators.

Version History
-----------------

v1.3     11/10/2012
          Minor syntax changes to accomodate for Xcode 4.5 compiler warnings.
          Minor changes in .java files to accomodate for Anroid (Google) 2.2 API's compiler warnings.
          Minor UI changes in .php files for control panel.

v1.0, 1.1, 1.2 (historical versions, no change details)


JSON Data
------------------------

Most folks use the control panel to configure the JSON data for this plugin but it's useful to
see what it may look like. This is the simplest example.

{
     "itemId":"343434",
     "itemType":"BT_sendEmail",
     "emailSubject":"You gotta check out this app!",
     "emailMessage":"Be sure to download it and check it out."
}