ar70plm's Forum Posts

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Can anyone help me please, im a bit constrained by the situation as the app is publish and im loosing money since some people are exploiting this 3rd bug i have and i want to limit this exploit as far as posible

    Thank you

  • As i see for construct 2 there is such a plugin http://hermitsdevelopment.blogspot.com/2016/06/construct-2-plugin-cordova-unique.html

    but i dont know how to convert it in c3addon

  • I think these days for privacy reasons mobile OSs make this intentionally difficult to obtain. It might be easier to find a different way to do this, such as requiring a login and using that to restrict access where necessary.

    I already have a login and registering new username system but i didn't add confirmation on email because most of the users gave up when they have to go in email and confirm email and the majority are not bad intended :), one version of my app is already on google play and now i need this for an update, some users exploited some bugs from a 3rd party API trough my app on witch i dont have control when i ban them, they create a new username and so on. I have made use of local storage to bind the phone to one account and restrict the creation of multiple accounts but if the app is uninstalled and installed again local stored keys are lost

  • Hello.

    Im working on an app, and i realy need to get from user something unique from his phone, like mac addres, imei or anything else that remains the same if he uninstalls the app and install it again.

    I want to use this to restrict the access for some users if i need so.

    Thank you in advance

    Tagged:

  • Hello.

    Can anyone please convert this plugin for c3 i realy need it. thank you

    hermitsdevelopment.blogspot.com/2016/06/construct-2-plugin-cordova-unique.html

  • Hello.

    Never used JSON untill not because i have to :)

    Can someone tell me how do i get a string value from a key ?

    Right now i have something like this

    Event -> Set testid to Plugin.curReceipt

    and as i see in testid i have a JSON string after the action is made its something like this {"orderid":"the-id-i-want-to-extract".......

    Can someone tell me please how do i extract the order id and set it in a global variable or so...

    Newbie here:)

    Thank you in advance

    Tagged:

  • Made it work i added in htaccess this line Header always unset X-Frame-Options

  • Is your website HTTPS?

    My god I'm beginning to sound like a broken record.

    Yup... is the same site that gets the ajax requests from my last post :)... so https works

  • Hello!

    Newbie me again :)

    Right now in my app i try to make an iframe of my website and my website refuses to connect or something like that i know it a server side problem but i cant figure out what. Searched on G but im in fog

    If i use construct.net URL in iframe everything is ok, if i use my URL, well it refuses to connect

    Please some user who used iframes can give me some advices ?

    Thank you in advance

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Found it.

    This kinda explains it. It's called 'mixed content'

    https://developers.google.com/web/fundamentals/security/prevent-mixed-content/what-is-mixed-content

    It's not that it isn't supported, it's a security hole for HTTPS. When you go from a HTTPS site and make a request to a HTTP site, it falls under the 'mixed content' and gets blocked.

    If you made the AJAX call from an HTTP site to another HTTP site, it would likely have gone through without issue. It was the call from HTTPS to HTTP that caused the problem.

    preview.construct.net is an HTTPS site.

    THANK YOU Fengist!

    For me now things seems to be less foggy, thanks to your help.

    (Ajax) HTTP -> (Ajax) HTTPS = No problems

    (Ajax) HTTPS -> (Ajax) HTTP = Headaches :))

  • > I do not have HTTPS certificate on the server. Maybe this is a problem?

    That is almost definitely the problem.

    I'm going to venture a guess that the J5 is using an older version of Chrome that allowed you to access non secure sites but it doesn't give the http origin as a security measure, which would normally get blocked by AJAX being off-site. That's most likely is why you're seeing it's IP and not an origin. You may have been allowed to run your previous script as it allowed any site to run it. My script only allows specific sites to access it so it would have failed to run.

    The J6 and the desktop are using newer versions of Chrome which are simply refusing to let you go from a secure site (https://preview.construct.net) to your insecure site (http://www.mysite.com) which is why they're not even attempting to make the AJAX call.

    It's the same problem the other guy was having in the post I linked to: trying to make an AJAX call to a http site.

    Nice! So HTTP is not supported from most of the browsers from computers and mobiles, HTTPS works well, tested now. Thank you very much for your help!

  • And this brings up another question. If you're accessing it from the phone's browser, which browser are you using? The Samsung browser or Chrome?

    Well on my PC im using chrome and on the mobile devices chrome as well

    What i see in the httporigin.log right now is 79.118.33.7 witch is my provider ip atm, and this is writen when i access Myapp from J5.

    If i access it from Construct browser or J6+ nothing is added in httporigin.log (im clearing text from httporigin.log every try i make a AJAX call)

    I do not have HTTPS certificate on the server. Maybe this is a problem?

  • Your English is just fine.

    Yea, it's pretty annoying not to see what the actual AJAX error is.

    If you read further down that post above there's some code to log incoming requests to file so you can actually see if the AJAX requests are coming through. That would be my first test to see if the various devices are even making the requests and if they are, do they have an origin.

    Did that.

    When i try the app from my J5 my ip logs in httporigin.log but when i try from construct 3 browser or J6+ nothing is writen in httporigin.log

    Its like something from construct 3 host (or my local browser) and from samsung J6+ browser is blocking the AJAX action this is the only reason i think, but what and how can i solve this problem?

    :(