Skip to content

Commit

Permalink
[#203] iOS No Mail Account = Alert on Every Launch: "No Mail Accounts"
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyVerbruggen committed Oct 2, 2014
1 parent c65d0cc commit ac66d5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="nl.x-services.plugins.socialsharing"
version="4.3.7">
version="4.3.8">

<name>SocialSharing</name>

Expand Down
4 changes: 3 additions & 1 deletion src/ios/SocialSharing.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ @implementation SocialSharing {
}

- (void)pluginInitialize {
[self cycleTheGlobalMailComposer];
if ([self isEmailAvailable]) {
[self cycleTheGlobalMailComposer];
}
}

- (void)available:(CDVInvokedUrlCommand*)command {
Expand Down

0 comments on commit ac66d5d

Please sign in to comment.