ketsalot1 / in-app-purchase-air-ios

Automatically exported from code.google.com/p/in-app-purchase-air-ios
1 stars 0 forks source link

Error while debugging please provide me sample project #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. While debugging it is showing a problem

What is the expected output? What do you see instead?
I want to implement inapp purchase
error 103: application.initialWindow.extensions is an unexpected 
element/attribute

What version of the product are you using? On what operating system?
flash builder 4.5.1 and air 2.6 and Mac OS

Please provide any additional information below.

Here is the link of my code
http://www.pastie.org/2931810

Can you provide the whole sample project?

Any help will be appreciated,

thanks in advance, 

Original issue reported on code.google.com by jai.jais...@teks.co.in on 28 Nov 2011 at 7:04

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

GoogleCodeExporter commented 9 years ago
I have seen wiki section from where I knew that I have to compile via command 
line for ios In-app purchase in flash builder 4.5 but now flash builder 4.6 is 
available in market so now Can we compile our app using IDE?

If not,Can you give me the steps via command line?

Original comment by jai.jais...@teks.co.in on 30 Nov 2011 at 2:59

GoogleCodeExporter commented 9 years ago
I am using your sample project while debugging I am getting this error
Cannot access a property or method of a null object reference.
    at com.adobe.nativeExtensions::AppPurchase()[/Users/airqe/Users/sbhave/InApp/AS/src/com/adobe/nativeExtensions/AppPurchase.as:23]
    at com.adobe.nativeExtensions::AppPurchase$/get manager()[/Users/airqe/Users/sbhave/InApp/AS/src/com/adobe/nativeExtensions/AppPurchase.as:32]
Can you please provide me the proper sample project?

thanks in advance,

Original comment by jai.jais...@teks.co.in on 1 Dec 2011 at 11:46

GoogleCodeExporter commented 9 years ago
Hi,

Same problem here, I think.  I am using CS5.5 to compile the swf (with AIR 3.1 
overlayed).

Here is the error log:

TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
    at com.adobe.nativeExtensions::AppPurchase()[/Users/airqe/work/Repos/in-app-purchase-air-ios/branches/v1/AS/src/com/adobe/nativeExtensions/AppPurchase.as:21]
    at com.adobe.nativeExtensions::AppPurchase$/get manager()[/Users/airqe/work/Repos/in-app-purchase-air-ios/branches/v1/AS/src/com/adobe/nativeExtensions/AppPurchase.as:30]
    at com.lisieremedia.inapppurchasestest::InAppPurchasesTest/initInAppPurchasesIOS()[C:\LisiereDev\Common\research\InAppPurchasesTest\as\com\lisieremedia\inapppurchasestest\InAppPurchasesTest.as:38]
    at com.lisieremedia.inapppurchasestest::InAppPurchasesTest()[C:\LisiereDev\Common\research\InAppPurchasesTest\as\com\lisieremedia\inapppurchasestest\InAppPurchasesTest.as:32]
    at runtime::ContentPlayer/loadInitialContent()
    at runtime::ContentPlayer/playRawContent()
    at runtime::ContentPlayer/playContent()
    at runtime::AppRunner/run()
    at ADLAppEntry/run()
    at global/runtime::ADLEntry()

Original comment by pas...@lisieremedia.com on 2 Dec 2011 at 11:46

GoogleCodeExporter commented 9 years ago
Are you using the -extdir switch at ADT? and have <extensions> specified 
correctly in APP XML?

Original comment by saumitra...@gmail.com on 2 Dec 2011 at 8:25

GoogleCodeExporter commented 9 years ago
yes

I am sending you my sample project.Please tell me what is the problem?
ASAP

Original comment by jai.jais...@teks.co.in on 5 Dec 2011 at 6:41

Attachments:

GoogleCodeExporter commented 9 years ago
Had a look at your project. Following pointers might be helpful.

1. When usin FB 4.6 you should not link to SWC. You should link only to the ANE.
2. After adding reference to ANE. You should select it for packaging the screen 
shot might help. Package column should be checked.

Original comment by saumitra...@gmail.com on 5 Dec 2011 at 9:29

Attachments:

GoogleCodeExporter commented 9 years ago
thanks sir for your help

One more thing I want to ask that In start payment function existing purchase 
will be checked inside ANE.
what will be return when purchase will be completed successfully.

Original comment by jai.jais...@teks.co.in on 8 Dec 2011 at 6:22

GoogleCodeExporter commented 9 years ago
Hello,  jai.,have download your sample project. I have change my app ids. Now 
when I run that and click get product button it throws nothing. Can you update 
sample project please? I urgently need it because I have not found better than 
this today

Original comment by 8575mans...@gmail.com on 29 May 2014 at 6:03