BlackFalcon7842's Forum Posts

  • hassan424 nope

  • Tag: Kyatric

    Also if i use phone gap will i need a plugin for the IAP object to work with ios? or will it work without me doing anything but with it? Also when you say Phone gap build do you mean adobe phone gap build the online thing:

    https://build.phonegap.com/apps

  • I need to look further into the iOS part of things.

    So currently I cannot help further or tell you what's going wrong.

    It is advised to rather build iOS apps using phonegap build rather than XDK.

    IAP products must be configured into the iTune Connect interface and you should have contracts up for it to work (still in that interface).

    I plan on doing a tutorial like the one I made for Android but I need to research and manage into getting the app to work in a first time.

    It's not yet the case and is the end of year.

    I just found intel xdk easier to use but if i use phone gap will that solve my problem?

  • Tags of people i think can help(if you know anyone who also can solve this please tell me): Kyatric

    I used constuct 2's IAP object and set up the in-purchases i wanted for my ios app game. I made sure to read over the manual on it so i know i set it up right in construct. Also i made sure its not in test mode.

    I dont use the loader layout (if i should then i will). In the first layout (i use it as a loading layout)the first event is "on start of layout" then the first action is IAP "add product ids(then my ids)" the next action is IAP "request store listing" then i have everything else(That layout is never called again unless the game is restarted completely). Then on the next layout which is the start screen(main layout) i do the same thing.

    In my game scene layout (for gameplay) i dont run IAP in there.

    The products for sale is available at all times you dont have to unlock it.

    I exported my game using Cordova and then build the game using Intel XDK. Even after i made it this far i didnt get any errors. I uploaded the build to apple, sent it in for review and when they got back to me my binary was rejected.They said:

    "We found that while you have submitted In App Purchase products for your app, the In App Purchase functionality is not present in your binary."

    In itunes connect i made sure the product id's were correct and based off my app id.

    Example app id: com.product.name

    Example product id: com.product.name.100C

    Then in construct i used that same product id that was in itunes connect.

    Here is the file(test in-app purchases(i simplified my game to where its just iads object and IAP object with the purchases for the sake of making it easy for you guys to see the problem with my set-up of IAP Object if there is one)):

    https://drive.google.com/open?id=0ByYqvX_k-CV-dXR0WkxDUEhxeEE

    In the file i called the app id:(com.product.name) its just a example id but lets say

    thats what i have in itunes as well, for the product id. For the product name that is for sale > (example: .100C)

    I do have a sandbox account and tested the IAP Object / in-app purchases with it but they still dont work.

    One thing i do notice is that when ever i start up my game i get a "sign in to itunes" pop up, so i do know the IAP Object is being called but for some reason it still does not work completely.

    I never really looked at any of the straight up "code" for the app because i thought construct would take care of all of that as long as you set it up right in construct.

    I dont see any products referenced in the config file. Does construct do that auto?

    So i am not sure where i went wrong with all of this. Is there a plugin i need or.......?

    (see the file link)Did i setup the IAP object wrong?

    Is there something in itunes connect that i have to do?

  • ok great! if he can help with this that would be awesome!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • "bump"

    please help! Anyone, if you how to fix this or direct me to someone who can

  • Here is the file(test in-app purchases(i simplified my game to where its just iads and in-app purchases for the sake of making it easy for you guys to see the problem with in-app purchases if there is one)):

    https://drive.google.com/open?id=0ByYqvX_k-CV-dXR0WkxDUEhxeEE

    In the file i call the app id:(com.product.name) its just a example id but lets say

    thats what i have in itunes as well, for the product id and for product name this> (example: .100C )

    can you also get other people who you know that work in ios as well as intel xdk to look at this.

  • .

    I thought it had something to do with intel xdk

    Is the .capx file the project file? and how do i post the file? .....sorry i dont know this stuff

    also in my game when i test it i still get the pop up to sign in to itunes i know that from IAP so it

    does work to a extent its just weird

  • .

    ok so i set-up my sandbox and the in-app doesnt work...what i was really wondering if there is a special plugin i have to install for intel xdk or if i have to change my setting in construct

  • ok ill try that and no i didnt

  • .@zenox98 blackhornet Ashley

    well can someone answer this question?????? anyone??? please i need help..

  • The issue could be something to do with itunes but I'm not familiar with linking that in, maybe it doesn't work correctly?

    I am not sure but what ever the case i need this fixed... can you get some other people to look at the topic as well so i can get more input. Ones that work with ios and intel xdk

  • Ah right, perhaps Construct 2 does a lot of it for you then. I know Apple don't like it if they can't see the store straight away with all the products that were submitted readily available for purchase. How early in the game do you use request store to get the listings? Sometimes they make errors, you could try resubmitting it if there's no obvious problem.

    Well i dont use the loader layout (if i should then i will). In the first layout (i use it as a loading layout)the first event is "on start of layout" then the first action is IAP "add product ids(then my ids)" the next action is IAP "request store listing" then i have everything else(That layout is never called again unless the game is restarted completely). Then on the next layout which is the start screen(main layout) i do the same thing.

    In my game scene layout (for gameplay) i dont run IAP in there.

    I never tested my game in sandbox from itunes connect cause it looked hard to set up. But i did text my game after installing it to my phone with Intel XDK. Each time i started the game i got a "please sign-in to itunes" pop up. So i figured IAP was configured right.

  • Are all the IAP batches you submitted available in the app at all times? Make sure all of the products are referenced in config.txt. It's a common rejection but you can ask them for further info.

    when you say available at all times you mean like you dont have to unlock it right? if thats what you mean then yes.

    I dont see any products referenced in the config. I thought construct does that auto? I never looked at any of the "code" for the app because i thought construct would take care of all of that as long as you set it up right in construct.

    What exactly should i be looking for? product names?

  • . zenox98 blackhornet Ashley

    I used constuct 2's IAP object and set up the in-purchases i wanted for my ios app game. I made sure to read over the manual on it so i know i set it up right in construct. Also i made sure its not in test mode.

    Next i exported my game using cordova and then build the game using intel xdk. Even after i made it this far i didnt get any errors. I uploaded the build to apple, sent it in for review and when they got back to me my binary was rejected.

    They said"We found that while you have submitted In App Purchase products for your app, the In App Purchase functionality is not present in your binary."

    In itunes connect i made sure the product id's were correct and based off my app id.

    Example app id: com.appname.app

    Example product id: com.appname.app.coins

    Then in construct i used that same product id that was in itunes connect.

    So i am not sure where i went wrong. Is there a plugin i need or.......

    PS: sorry for tag but i really need this answered and this is now the second time i asked so please respond....i just tagged people i thought would respond..