[IOS/Android] Simple Share to email/Twitter/Facebook etc[V1.9.6]

svintaj

  • *
  • Posts: 298
I have a new mobile with Android 7.1 (Nougat) and on that device I can't share images to any app or service other than  to Google Drive? So if I for example try to share an image to Gmail I get the message "Permission denied for attachment" and no image.

Does the extension work with Nougat, is it tested? Can I do something about this? Trying to use  "API 25 - 7.1(Nougat)" in Stencyl 3.4 is unfortunately not an option: http://community.stencyl.com/index.php/topic,51933.0.html

robinschaafsma

  • *
  • Posts: 714
I have a new mobile with Android 7.1 (Nougat) and on that device I can't share images to any app or service other than  to Google Drive? So if I for example try to share an image to Gmail I get the message "Permission denied for attachment" and no image.

Does the extension work with Nougat, is it tested? Can I do something about this? Trying to use  "API 25 - 7.1(Nougat)" in Stencyl 3.4 is unfortunately not an
 option: http://community.stencyl.com/index.php/topic,51933.0.html

Yes, you need to update to Stencyl 3.5

svintaj

  • *
  • Posts: 298
I finally got Stencyl 3.5 to compile my project to Android Nougat but I then had this error:
Code: [Select]
Share.hx  : Type not found : openfl.utils.JNI So I tried my self to temporarily change all "openfl.utils.JNI" to "lime.system.JNI" in Share.hx and then it compiled fine.

However I still can't share an image with this extension on Android Nougat. First I got an question if I would allow my app to save on the device memory(Some progress!) and I choose "Yes", after that I still keep having the same "Permission denied for attachment" and no image?

squeeb

  • Posts: 1547
Does this still work?  Id like to purchase and use it


robinschaafsma

  • *
  • Posts: 714
b]UPADATE 1.9.6[/b]

- Fix crash on Android api 24>,
- Fix use with Stencyl 3.5

Download latest Toolset manager for download the simple share extension or update the simple share extension if you already have the latest toolset manager.
https://github.com/byrobingames/byrobintoolsetmanager/releases

Or you can download the .zip file manually at: https://github.com/byrobingames/simpleshare/releases/

Any issues? Add an issue on Github so that I can track the issue.
https://github.com/byrobingames/simpleshare/issues

« Last Edit: January 12, 2019, 03:20:48 pm by robinschaafsma »

ROSKI77

  • *
  • Posts: 4
Hello,

I would appreciate a little help here. I am using mac os. Downloaded the file. Copied it under stencylworks/engine-extensions and unzipped the file. Unfortunately i can not do anything with the .jar file. I am sure that i am missing a point here :)

robinschaafsma

  • *
  • Posts: 714
Hello,

I would appreciate a little help here. I am using mac os. Downloaded the file. Copied it under stencylworks/engine-extensions and unzipped the file. Unfortunately i can not do anything with the .jar file. I am sure that i am missing a point here :)

The .jar file is a Toolset extension and it must be unzipped inside "stencylworks/extensions".

The simpleshare.zip is the engine-extension and that one has to be unzipped inside "stencylworks/engine-extensions"
But the toolset will download and install simpleshare in that folder.

Hell O

  • Posts: 10
When I use "Part of [Current screen as image] x:[] y:[] w:[] h:[]" and send it via iMessage, the screenshot is not cropped correctly. And when I save to the camera roll nothing is saved.

Any way to fix this ?

robinschaafsma

  • *
  • Posts: 714
When I use "Part of [Current screen as image] x:[] y:[] w:[] h:[]" and send it via iMessage, the screenshot is not cropped correctly. And when I save to the camera roll nothing is saved.

Any way to fix this ?

iMessage cropping the image, that is a Apple UI thing nothing much that you can do.

I have to look in to "Save to camera roll" part, I don't know why that is, maybe I must exclude savetocamerarol.

Hell O

  • Posts: 10
No these are stencyl blocks, basically it takes a screenshot (Current screen as image) and I use the block "Part of []" to only take a part of the screenshot where the score is but the selected area isn't cropped properly. But now I think it's a Stencyl issue, not your extension.

About Save to Camera Roll, yea remove it if you can't fix the issue but it's a great feature! Thanks for your extensions btw

robinschaafsma

  • *
  • Posts: 714
No these are stencyl blocks, basically it takes a screenshot (Current screen as image) and I use the block "Part of []" to only take a part of the screenshot where the score is but the selected area isn't cropped properly. But now I think it's a Stencyl issue, not your extension.

About Save to Camera Roll, yea remove it if you can't fix the issue but it's a great feature! Thanks for your extensions btw

Fix save to camera Roll
See: http://community.stencyl.com/index.php/index.php?topic=47150.msg305527#msg305527

Update extension manager in General Page to version 0.2.4