Testing Amazon In-App purchases with Adobe AIR - air

The only documentation I can find for testing in-app purchases is this, which instructs me to install the deprecated Amazon SDK Tester APK for Amazon's IAP 1.0, which seems like a bad idea.
I have the Amazon IAP ANE in Flash CS 6.
I've tried installing Amazon's newer App Tester app and have downloaded and copied amazon.sdktester.json with all our in-app items from Amazon to /root/sdcard/ on my Kindle Fire HD 7, but no callback is fired when I call the IAP API with AmazonPurchase.amazonPurchase.loadItemData( arrayOfIAPSkus );.
What am I doing wrong?

There are 2 tester apps:
Amazon SDK Tester - for testing IAP v1.0
Amazon App Tester - for testing IAP v2.0
The Adobe AIR ANE is for Amazon IAP v1.0, so you should use Amazon SDK Tester.
Note: App Tester is not supported for IAP v1.0 and is incompatible
with the SDK Tester tool included in the download for IAP v1.0. If
your app uses both IAP v1.0 and Mobile Associates APIs, you will need
to install/uninstall App Tester and SDK Tester to test your app
locally as you work with each API set. If you upgrade to IAP v2.0, you
will only need to have App Tester installed on your device.
https://developer.amazon.com/public/apis/earn/in-app-purchasing/docs-v2/installing-and-configuring-app-tester

Related

How to identify whether the react native app is downloaded from Huawei App Gallery or Google Play Store?

I created a react native application which contains in-app-purchase.
in-app purchase - react-native-iap
I published my app into google play store, ios app store and It is working fine at google play store and ios app store.
I want to publish my app in Huawei app gallery.
react-native-iap does not support Huawei and I had to implement hms in-app purchase. But after that I am facing this problem.
There are two kind of Huawei mobile phones in market now.
Huawei mobile phones that supports both gms and hms.
Huawei mobile phones that supports only hms.
Huawei mobile phones that supports both gms and hms
In these user can download the app from Huawei app gallery or Google play store. How should I differentiate whether the app is download from Huawei app gallery or Google play store ?
Because based on this information I need to do the purchase (whether I use hms purchase or gms purchase)
Thank you.
You could try this PackageManager.getInstallerPackageName(String pack). This is an native method provided by Android for your information.
This method returns the package name of the software on which the application is installed. This method can be used to determine the market where the application was downloaded.

Can Google barcode reader be used without play services installed on a phone?

I have an embedded phone application where the phone is running Android 7 without any GMS apps, including play services, since it is not a GMS certified device.
Can I use the Google barcode reading SDK on this device, or does it require Google Play Services to run?
There will be two options here:
Route 1 - Using Google Bar Code Reader
If you will be going to this route, one prerequisite will be: you have to use Google Play Services since you'll be using a service from Google (Google Mobile Vision SDK). Try checking their codelab, you'll see all the prerequisite libraries you have to use.
Route 2 - Not using Google Play Services (GPS)
As the route says, this will be using external or 3rd party libraries.
References:
Scan QR code without using google play services
How to install the barcode scanning library without a google account?

Using AWS for android and iphone applications

I'm trying to set up environments for my companies iphone, android, and web applications. Is AWS compatible to use if it is coded in Obj-C and the android app is in javascript but not react?
You can check this link
https://aws.amazon.com/mobile/resources/
For ios sdk on github
https://github.com/aws/aws-sdk-ios
And javascript sdk is
https://aws.amazon.com/documentation/sdk-for-javascript/
Getting started dev guide :
https://docs.aws.amazon.com/aws-mobile/latest/developerguide/getting-started.html
PS:You should always secure credentials for making these

To implement GCM requires the Google Play APK needs to be installed will restrict the number of user to use our android app?

GCM features is added with the Google Services. While developing android application to use the GCM the device require to have Google APK installed.
And I heard that some of the devices not having the Play Store APK or there is no support for GCM. The devices like Amazon Fire phone, xiaomi and all.
I want to develop an app to support all the user. Is not like the user having installed Play Store APK can use our application.
I thought of using pubnub. I don't know whether this is an right alternative. Because I am not finding any other way to overcome this issue.
Please help me on this.
Thanks in advance.

Appcelerator Titanium: How to enable Mobile Web App development?

So I'm getting started using the Appcelerator Titanium Mobile framework. I wanted to try out the ability to deploy a mobile web app. However, I can't find any documentation on it. I just installed Titanium Studio and created a new project, but the "deploy to mobile web" checkbox was disabled. There was also a message that said "incompatible Mobile SDK for the Mobile Web support" even though I have the latest version (1.7.2).
What do I need to do in order to enable this feature and get started using Titanium for mobile web app development?
Update:
I found the link to the Titanium Mobile Web documentation.
Turns out the Mobile Web feature is still in beta, which means it's currently only available to paying customers. So I signed up for the indie subscription since it includes a 30-day free trial. I have tried restarting, signing out and signing back in and Titanium Studio still doesn't give me the option to deploy to Mobile Web. What do I need to do now?
I found some additional information on the Titanium Mobile Web SDK. The reason it doesn't work with Titanium Mobile 1.7.2 is because it doesn't come bundled with Titanium Mobile 1.7.2. You have to download the 1.7.0 RC1 SDK from their Amazon S3 account and manually add it. The link above explains how to do it. I couldn't figure out how to to deploy to an emulator, which kind of defeated the purpose. Also, deploying to Firefox does not work, so don't even try. It only works in Safari and Chrome.