Problem Description
When using the twitter plugin, I encounter 2 issues:
1) When calling the twitter plugin and trying to modify the default to add a game variable, the procedure would be to use the reload function, but when adding the reload function, a javascript error appears. Additionally, if the reload function is not used, the button shows the assigned variable only the first time it is executed, and if the layout is reloaded, it only appears with the default text and does not show the assigned variable.
[attachment=0:2zzomi5b]twitterbug.png[/attachment:2zzomi5b]
2) The twitter button does not appear in the distribution iOS app version, only in browser version.
Attach a Capx
[attachment=2:2zzomi5b]twitterbug1.capx[/attachment:2zzomi5b]
[attachment=1:2zzomi5b]twitterbug2.capx[/attachment:2zzomi5b]
https://dl.dropboxusercontent.com/u/165 ... rbug1.capx
https://dl.dropboxusercontent.com/u/165 ... rbug2.capx
Description of Capx
Two simple capx to illustrate the issues.
Steps to Reproduce Bug
A) Capx with reload button version:
1. Start twitterbug1.capx
2. Click on twitter button.
3. Twitter message with score variable appears.
4. Click reload button.
5. Twitter message appears without variable and only with default text.
B) Capx without reload button version:
1. Start twitterbug2.capx
2. javascript error appears.
Observed Result
A) Variable is not shown.
B) Javascript error is thrown.
Expected Result
A) Show variable each time.
B) Not show javascript error message.
Affected Browsers
Chrome: (YES)
Firefox: (YES)
Internet Explorer: (YES)
Node-Webkit: (YES)
Operating System and Service Pack
Win 7
iOS 6 (compiled with cocoonjs)
iOS 7 (compiled with cocoonjs)
Construct 2 Version ID
R174