Stencyl 3.4.0 is now out. Get it now!

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

1MrPaul1

  • *
  • Posts: 1192
don't understood, is it possible to share screenshot with the game url to facebook from android or not?
thanks

robinschaafsma

  • *
  • Posts: 633
don't understood, is it possible to share screenshot with the game url to facebook from android or not?
thanks
No, both will not share in same sharemessage to Facebook.
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



1MrPaul1

  • *
  • Posts: 1192
don't understood, is it possible to share screenshot with the game url to facebook from android or not?
thanks
No, both will not share in same sharemessage to Facebook.
Oh sad, I hoped you are included this option, image without link to the game is almost useless

robinschaafsma

  • *
  • Posts: 633
don't understood, is it possible to share screenshot with the game url to facebook from android or not?
thanks
No, both will not share in same sharemessage to Facebook.
Oh sad, I hoped you are included this option, image without link to the game is almost useless

It is an policies by Facebook not by me, so I can't include this
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



robinschaafsma

  • *
  • Posts: 633
update
- 1.9.2 update(2017-03-19) Added Android Gradle support for openfl4

If you already purchases this extension, just login to your account on my store to re-download this extension.

« Last Edit: March 22, 2017, 02:16:27 pm by robinschaafsma »
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



robinschaafsma

  • *
  • Posts: 633
UPDATE

- 1.9.3 update(2017-05-16) 
-Tested for Stencyl 3.5,
-Required byRobin Toolset Extension Manager

- 1.9.4 update(2017-05-18)
-Fix: Crash on some iOS Devices

If you already download this extension from my store, login to your account on the store and re-download the extension

« Last Edit: May 18, 2017, 12:29:14 pm by robinschaafsma »
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



JHKeller

  • *
  • Posts: 31
Hey Robin, thanks for making this extension!

This used to work ok for me a few months ago when I first set it up, but I'm getting a crash with this now on iOS. This is in Stencyl 3.4 with the latest simple share (1.9.4) and byRobin Extension Manager (0.1.3).

Here's what I get in the console on iOS after the crash. Thanks for any help.

Code: [Select]
2017-06-01 20:48:54.994798-0700 Snakes1320[3047:871142] UiPopoverPresentationController for iPad IOS8
2017-06-01 20:48:54.995252-0700 Snakes1320[3047:871142] 375.00
2017-06-01 20:48:54.995285-0700 Snakes1320[3047:871142] 667.00
2017-06-01 20:48:54.997266-0700 Snakes1320[3047:871142] iPhone/iPod or Ipad IOS <7
2017-06-01 20:48:54.998132-0700 Snakes1320[3047:871142] -[UIWindow presentViewController:animated:completion:]: unrecognized selector sent to instance 0x101707a00
2017-06-01 20:48:55.023256-0700 Snakes1320[3047:871142] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIWindow presentViewController:animated:completion:]: unrecognized selector sent to instance 0x101707a00'
*** First throw call stack:
(0x184baefe0 0x183610538 0x184bb5ef4 0x184bb2f54 0x184aaed4c 0x1002d6fec 0x100a06d3c 0x10099e130 0x10099dfac 0x1003f1ffc 0x1003f3d70 0x1009b0650 0x10088e910 0x100837ca8 0x1003f8678 0x1003f8598 0x1008248a0 0x1008d6e3c 0x1008d754c 0x1008d74ec 0x1009db4a8 0x1009d13b8 0x1009d1174 0x1009cc6a4 0x10070199c 0x1006fdba8 0x1006fe2e8 0x1006fe320 0x1009ed850 0x100143004 0x1001338d0 0x1001004d8 0x187dc05dc 0x187dc048c 0x184e1bb9c 0x184b45960 0x184b5dae4 0x184b5d284 0x184b5ad98 0x184a8ada4 0x1864f4074 0x18ad45058 0x100100360 0x100142cf0 0x100a0674c 0x100a15c90 0x1009e11b8 0x1009dcc3c 0x1009ec294 0x100a0b1c8 0x1000e66c8 0x183a9959c)
libc++abi.dylib: terminating with unexpected exception of type NSException

robinschaafsma

  • *
  • Posts: 633
Hey Robin, thanks for making this extension!

This used to work ok for me a few months ago when I first set it up, but I'm getting a crash with this now on iOS. This is in Stencyl 3.4 with the latest simple share (1.9.4) and byRobin Extension Manager (0.1.3).

Here's what I get in the console on iOS after the crash. Thanks for any help.

Code: [Select]
2017-06-01 20:48:54.994798-0700 Snakes1320[3047:871142] UiPopoverPresentationController for iPad IOS8
2017-06-01 20:48:54.995252-0700 Snakes1320[3047:871142] 375.00
2017-06-01 20:48:54.995285-0700 Snakes1320[3047:871142] 667.00
2017-06-01 20:48:54.997266-0700 Snakes1320[3047:871142] iPhone/iPod or Ipad IOS <7
2017-06-01 20:48:54.998132-0700 Snakes1320[3047:871142] -[UIWindow presentViewController:animated:completion:]: unrecognized selector sent to instance 0x101707a00
2017-06-01 20:48:55.023256-0700 Snakes1320[3047:871142] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIWindow presentViewController:animated:completion:]: unrecognized selector sent to instance 0x101707a00'
*** First throw call stack:
(0x184baefe0 0x183610538 0x184bb5ef4 0x184bb2f54 0x184aaed4c 0x1002d6fec 0x100a06d3c 0x10099e130 0x10099dfac 0x1003f1ffc 0x1003f3d70 0x1009b0650 0x10088e910 0x100837ca8 0x1003f8678 0x1003f8598 0x1008248a0 0x1008d6e3c 0x1008d754c 0x1008d74ec 0x1009db4a8 0x1009d13b8 0x1009d1174 0x1009cc6a4 0x10070199c 0x1006fdba8 0x1006fe2e8 0x1006fe320 0x1009ed850 0x100143004 0x1001338d0 0x1001004d8 0x187dc05dc 0x187dc048c 0x184e1bb9c 0x184b45960 0x184b5dae4 0x184b5d284 0x184b5ad98 0x184a8ada4 0x1864f4074 0x18ad45058 0x100100360 0x100142cf0 0x100a0674c 0x100a15c90 0x1009e11b8 0x1009dcc3c 0x1009ec294 0x100a0b1c8 0x1000e66c8 0x183a9959c)
libc++abi.dylib: terminating with unexpected exception of type NSException

Can you try to delete your share button complete, and disable share extension. Save game and enable share extension again and setup you share-button from start.

DO you also have the Toolset installed...
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



JHKeller

  • *
  • Posts: 31
Thanks for the help! I believe I have the latest version of the toolset installed. I tried what you suggested, disabling and remaking the SimpleShare button, I was still getting the crash.

It actually looks like it may be the UnityAds extension interfering with SimpleShare. If I remove the Initialize UnityAds block from my starting scene, the SimpleShare extension seems to work fine. I tried creating a completely new game with just initialize UnityAds and a share message block 3 seconds later. It crashed in the same way.

UnityAds seems to work and display ads with no problem.

« Last Edit: June 03, 2017, 01:06:51 am by JHKeller »

robinschaafsma

  • *
  • Posts: 633
Thanks for the help! I believe I have the latest version of the toolset installed. I tried what you suggested, disabling and remaking the SimpleShare button, I was still getting the crash.

It actually looks like it may be the UnityAds extension interfering with SimpleShare. If I remove the Initialize UnityAds block from my starting scene, the SimpleShare extension seems to work fine. I tried creating a completely new game with just initialize UnityAds and a share message block 3 seconds later. It crashed in the same way.

UnityAds seems to work and display ads with no problem.

Strange i had the same, fix it in new version 1.9.5
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



robinschaafsma

  • *
  • Posts: 633
Update 1.9.5
 - Fix: Crash on iOS when use with Unityads
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl



JHKeller

  • *
  • Posts: 31
Awesome, looks like that fixed it. Thanks for the quick response!

svintaj

  • *
  • Posts: 272
Thanks for a great extension!

svintaj

  • *
  • Posts: 272
I cant share images with mobile MMS,  my phone says that the image is to big to attach to the message and then that the image can't be scaled down and then it fails. The text is sent though. The image is 353kb and is 526 x 320 pixels large, not so very big i think? But I then manage to  share an image that only was 220kb with MMS. So if we had the option to save it as a JPG then the file could get small enough, since now the image always saves as an PNG, is there any flag I can set to share/save as an JPG?

robinschaafsma

  • *
  • Posts: 633
I cant share images with mobile MMS,  my phone says that the image is to big to attach to the message and then that the image can't be scaled down and then it fails. The text is sent though. The image is 353kb and is 526 x 320 pixels large, not so very big i think? But I then manage to  share an image that only was 220kb with MMS. So if we had the option to save it as a JPG then the file could get small enough, since now the image always saves as an PNG, is there any flag I can set to share/save as an JPG?
No it will only save as PNG.
byRobinGames.com


I'am not always on the forum, you can mail me if you have an question. info@byrobin.nl