radbrothers's Recent Forum Activity

  • AaronSmithUK

    Thank you so much man! It helped me! Why Ashley can't fix it?

  • AaronSmithUK

    Thank you for answer, but how i can do this? You managed to do it?

  • Hi all

    AaronSmithUK

    Ashley

    I have same issue as AaronSmithUK, how i can fix it?

  • Hi all!

    Ashley

    In Constrcut2 we can't use Windows Store action Show Share UI for Windows 10 UWP. But I use this method and it work:

    1. I create file share.js with code:

     var dataTransferManager = Windows.ApplicationModel.DataTransfer.DataTransferManager.getForCurrentView();
            dataTransferManager.addEventListener("datarequested", function (e) {
                var request = e.request;
                request.data.properties.title = "Your title";
                request.data.setText("Your text");
            });
            Windows.ApplicationModel.DataTransfer.DataTransferManager.showShareUI();[/code:1bkdsz4j]
    
    [b]2.[/b] Import share.js in project.
    [b]3.[/b] Browser object -> Execute Javascript:
    
    [code:1bkdsz4j]var js = document.createElement('script');
    js.type = 'text/javascript'; 
    js.src = 'share.js';
    document.body.appendChild(js);[/code:1bkdsz4j]
    
    It work on windows 10 and windows 10 mobile - Share UI is shown and I can choose any social network in which I want to share. Why Windows Store object can't do that?
  • Ashley what you think about it?

  • Hi Ashley

    I found solution for sharing on UWP Windows 10:

    1. I create file share.js with code:

     var dataTransferManager = Windows.ApplicationModel.DataTransfer.DataTransferManager.getForCurrentView();
            dataTransferManager.addEventListener("datarequested", function (e) {
                var request = e.request;
                request.data.properties.title = "Your title";
                request.data.setText("Your text");
            });
            Windows.ApplicationModel.DataTransfer.DataTransferManager.showShareUI();[/code:ino4bg1b]
    [b]2.[/b] Import [i]share.js[/i] in project.
    [b]3.[/b] Browser object -> Execute Javascript:
    [code:ino4bg1b]var js = document.createElement('script');
    js.type = 'text/javascript'; 
    js.src = 'share.js';
    document.body.appendChild(js);[/code:ino4bg1b]
    [b]4.[/b] Export project for VS2015
    
    And it work on windows 10 and windows 10 mobile - Share UI is shown and I can choose any social network in which I want to share. Why Windows Store object can't do that?
  • Hi Ashley

    If i can't share screenshot from my Windows 10 mobile game, may be i can share text? Or sharing in UWP is not possible to implement with construct 2 now?

    Thank you.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • hi SamRock

    i have same error with Adcolony in XDK, but i not use adcolony. May be cranberrygame fix it soon.

  • Hi cranberrygame

    Thank you very much for your work!

  • cranberrygame

    Thank you very much, im waiting.

  • Hi Ashley

    https://yadi.sk/d/4Pg8gYj9y2XBG

    This is .capx demonstrate my problem - if you close rewarded ads, you get error message "servers already up" and white screens. Some ads successfully closed, but some show this error. If build app without WKWebView - all work fine.

    In XDK you should install this is appodeal plugin https://github.com/appodeal/Appodeal-PhoneGap-plugin

  • Hi all!

    I have same issue in iOS with WKWebView (XDK). But crash and error message "servers already up" and white screens after closing video ads with sound.

    Ashley what you think about it?

radbrothers's avatar

radbrothers

Member since 30 Sep, 2015

None one is following radbrothers yet!

Connect with radbrothers

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies