Bl4ckSh33p's Recent Forum Activity

  • Thank you! The example someone provided works but when I add my own spreadsheet key I get the same "has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource." error. And with header it says no header allowed.

    Why does it work with the example sheet?

    I tried disabling and re-enabling "publish to web" on my sheet (thats what I used previously) but it does not seem to change anything.

    Example link here:

    My spreadsheet:

    docs.google.com/spreadsheets/d/1sDygGjqldslj9MrDzQRg3JDSiIaEnnkqTvvkeO_eMg8/edit

    Link using Ride Ride method

    docs.google.com/spreadsheets/d/1sDygGjqldslj9MrDzQRg3JDSiIaEnnkqTvvkeO_eMg8/gviz/tq

  • I tried adding the Header beforfe the AJAX request but now I get this:

    Access to XMLHttpRequest at 'x' from origin 'https://preview.construct.net' has been blocked by CORS policy: Request header field access-control-allow-origin is not allowed by Access-Control-Allow-Headers in preflight response.

    I tried posting the C3 code but Copy as Text in the event sheet does not seem to work in r225.

    I used

    Header: "Access-Control-Allow-Origin"

    Value: "*"

  • Hi! I used some CSV data from google sheets and documents in my apps but it's no longer working.

    I tried debugging and found this error in the console:

    Access to XMLHttpRequest at x from origin 'https://preview.construct.net' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

    Is it possible to add this to make it work again?

    Or use header to log in as a user with rights to read?

    And below was this:

    AJAX request to x (tag 'MyTag') failed: ProgressEvent {isTrusted: true, lengthComputable: false, loaded: 0, total: 0, type: "error", …} bubbles: false cancelBubble: false cancelable: false composed: false currentTarget: XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, onreadystatechange: ƒ, …} defaultPrevented: false eventPhase: 0 isTrusted: true lengthComputable: false loaded: 0 path: [] returnValue: true srcElement: XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, onreadystatechange: ƒ, …} target: XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, onreadystatechange: ƒ, …} timeStamp: 0 total: 0 type: "error"

  • I used Google sheets to download some CSV data in my apps but its no longer working. It shows some errors and code snippets instead of my CSV data or nothing at all. Did Google change something to block Ajax requests and is there a workaround?

  • It started to work on the published app now. :)

    But how can I use Google Play in my debug apk while testing new changes?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi! It seems to work in the published app now but how can I use Google Play in my debug.apk when I test it on my phone? I added Testers but I can't connect to google play and on error trigger does not show an error.

    Hi. I linked my app, added client ID and app ID in the plugin properties and published the game project. But sign in does not work in the debug apk or signed release apk from Google Play store. And on error does not trigger to show what's wrong (browser alert).

    It works in my old game. Any suggestions? I use the stable build of C3.

  • Thanks for your reply.

    I hope they keep supporting it. I published a few games on Xbox and want to continue to make games for console. But the discontinued PubCenter is bad for free games.

    Multiplayer and Xbox Plugins are one of the best and my favorites. :)

    newt Which one in Game Pass is made with Construct? As far as I know a few are in IDsem@Xbox and in the "normal" store (not UWP games in creators collection like mine).

  • Really? I did not use visual studio for a while. So if I update I can't create UWP games for Xbox anymore? 😱

  • Are there any plans to add a new (official) plugin for Windows UWP Ads?

    Or is selling it or IAP via the Windows Store plugin the only way to make monea with your game?

    Ads on Windows and Xbox for free games would be great.

  • Found why the iframes where invisible. If the iap item was owned they were set to 0 pixel height (forgot to add instance variable to some frames) but the problem with USB debugging is still present.

    Any help to debug with Samsung Galaxy S10+ would be great. :)

  • chrome://inspect on my phone does not work either. Its showing ERR_Invalid_URL.

  • Hi! I tried it debugging as described in the "Debug your APK" topic with a new phone today (Samsung Galaxy S10) but it is still not showing up in devices. I installed the Samsung USB Drivers for Developers on Windows but I can't debug my APKs. chrome://inspect/#devices is not showing my device. I set the USP mode to Photo transfer as suggested here: developers.google.com/web/tools/chrome-devtools/remote-debugging

    Any ideas?

    The other Huawei phone showed up as device but this one does not have the problem with missing iframes and no errors are in the console regarding them (but inspect window only shows iframes from my app, text objects, sprites etc. are invisible)

    The Problem:

    My latest update does not show iframes on a few layouts (works fine on Huawei Phone) and I connected my phone for debugging to see if any errors are shown. the iframes are shown fine on most pages but some layouts dont show them. Visibilty is set to true, one is on a layer which is toggled to show the changelog in an iframe. Only my Samsung phone does not show some of the iframes, PC and Huawei Phone show everything.

    Tagged:

Bl4ckSh33p's avatar

Bl4ckSh33p

Early Adopter

Member since 20 Jul, 2013

Twitter
Bl4ckSh33p has 5 followers

Connect with Bl4ckSh33p

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x3
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x6
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x2
    Lightning Draw First person to up-vote a new Construct 3 release
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

21/44
How to earn trophies