Google Play: Testing in-app-purchases using settings from different country? - react-native

I'm testing my React Native app by setting up a closed beta testing track on the Google Play console. The main thing I'm testing is in-app-purchases (IAPs) whose prices vary depending on region, so I want to be able to simulate Canadian and American accounts. I tried changing the region in the Google Play app settings, but can't change the country. Does anyone have experience doing this?

it is not easy to test this, but the way to do this is by creating two new google accounts one for Canada and one for US and use a VPN to totally simulate users from these countries.

Related

How to test alexa skills for multiple countries / regions?

I successfully published my first skill in US and DE. While extending to more regions I run into account linking problems that I cannot reproduce in DE.
Is there any best practice of efficient testing in multiple countries before triggering the certification.
So far I read that you should change the language setting of the amazon account - which seems very unconvenient if you have to test for 6+ countries. I am seeing two possibilities which both have flaws:
Note: My developer account is also my private family account which is also used by my wife.
If I create a new Amazon-Account just for testing, I cannot access the dev stage skill since the owner is the private family account, right?
If I change the country settings on the private family account, my wife loses the link to the Kinde library and can't use any of the remaining shopping services, right? Furthermore it is tedious to change these settings multiple times a day during development...
How are you testing?
Is there anything else available for testing and debugging that I just do not know about, yet?
Thanks in advance!
To test the skill, you can use the Alexa Simulator from the Alexa Developer Website. Use the "Test" tab to switch between regions / languages and use the text box or microphone button to test the skill.
For account linking, and in particular, using new Amazon accounts. You can use the Beta Test functionality to invite your new account to test the skill. This can be found under the "Manage Beta Test" and will let you invite people by email to test the skill. This will let you resolve your first issue.

How to test IP-based geolocation (need to test various US states, not just lower 48)

We are looking at implementing an IP-based geolocation service.
At this point, it looks like we'll be using a 3rd party DB, MaxMind's GeoIP2 Enterprise (https://www.maxmind.com/en/geoip2-enterprise-database) and a webservice.
We only need to geolocate by US state (and not just lower 48).
What is going to be the easiest way to test this from various states within the US? Developers are going to need to test as well as non-developers, i.e., marketing types.
Are there any 3rd party, web-based solutions we could subscribe to? I found one that took screenshots (https://www.geoscreenshot.com/capture), but I think we're going to need the ability (for marketing) to interact/navigate around. Something where you just enter an url and then it proxies that through an iframe might be ideal. I'm just wondering how non-developers can easily test IP-based geolocation.
You can test the geolocation from multiple country using http://www.locabrowser.com.
The pro is this web site is free service to test from 15 countries without any setup required.
The con is it does not has different states in United States at this moment.

personal nest api access

I've had a Nest thermostat for a little over a year and it works well. I also have many other Home Automation devices. I'm a Software Engineer and I enjoy making my life easier by programming my own, personalized, solutions to Home Automation issues. For example, I have my own weather station which reports information to Weather Underground using my own custom software. I also have my own, home grown, web interface which integrates both the X10 devices in my house and also the Wink devices, on one page.
I would like to gather temperature readings from my Nest thermostat and integrate that information into my home temperature information, in order to get a better idea of what is happening in my house. I signed up to be a Nest Developer and jumped through all of the hoops to get an access token in order to use the REST API. They turned me down!
So, it sounds as if Nest is not allowing their customers to access the information from your own thermostat in your own house! I find this closed system unacceptable! If Nest will not allow me access, then I guess my only alternative is to replace my thermostat with some other model which is more open and accessible?
Have others run into this closed system? Is there a way to deal with it, or is Nest simply saying, "we want your personal temperature information history, but we're not allowing you to have it, yourself."
Apparently, you don't need to get approval. Just proceed with describing the program, etc., and get the pincode. It works fine for a small number of users (50, I think) without approvals.

From my service how do I listen for when a user clicks on a desktop icon or app from within the application menu?

This question is no longer active - I have been officially notified by the company that we're dropping Android and going with a system that is specifically designed for business use.
In our two sister companies we installed almost 500 android phones assuming they'd have security capabilities similar to Linux that would allow us to provide business phones to our employees but limit their access to apps. Unfortunately we've since found out that we were hugely mistaken. Android has decided that whoever has possession of the phone should have full access to everything. Unfortunately for us this has been a business nightmare, with huge data overages, employees downloading and installing anything and everything they can get their hands on from Play Store, the apps we need to run constantly being stopped by the task manager because too many apps are running at the same time with our employees arguing that the apps are buggy or the phone is broken. Due to our type of operation, the phones are passed from one employee to another often for weeks at a time before a supervisor or technician has access to them.
We absolutely need to either secure the phones or get rid of them. So...
From within a service, how do I capture when an employee clicks on an unauthorized app either from the desktop or from the applications menu? I've spent the last 2 days searching Google for an answer, but have turned up nothing. I know it can be done, because I have a couple of apps on my personal phone that do so.
We're using Android 2.2
Why not uninstall Google play store from the phones? And any other apps which are not needed?
It might be easiest too just install a parental control app. Here's an example, though this particular one may not meet all your needs: https://play.google.com/store/apps/details?id=com.kiddoware.kidsplace
Have a look at the 3CX Mobile Device Manager. The sign up process is free and easy. Then you just need to download the app to each phone from GooglePlay and get it set up. I would be interested in knowing if you proceed with it and if it does everything you need it to.

How to add advertisment in iPhone application?

I have a request from a client that wants to add adverisments in an iPhone application.
The client should be able to put his own advertisments at his own will: whenever his wants and as many times as his wants, without our help.
Is there any solution and what is it? Preferrably for free.
What dimensions should the banner have?
you can develop an xml based adv system and C# desktop app to desing adv easly. You should define properties, image and text tags, coords and navigation urls. Then an xml parser and you can create adv dynamicly.
Once i developed something like that to develop ITV channels and it reduced development time too much.
Or you can simply use webview
Give AdMob a try and be sure to check out House Ads.
You can use House Ads to upload/create your own banners or text ads and get the statistics and a robust framework for displaying ads in your app with it.
You could use StorageRoom to manage the ads and then use the API to pull them into your app.
Disclaimer: It's my startup.
I've used quite a few ad networks and for what you outline as your requirements I'd go with MobClix. If you want to earn revenue from other peoples ads then iAds and MobFox work best for me.
Adwhirl its quite flexible allowing you/client to set the ad providers, percentage per provider and as well as house ads.
I'd suggest you use a CMS for image upload, create some templates that use banners and create html-links, html-text, html/css/js/whatever-content.
Your app could then call specific URLs and if it gets get a valid response, it could create a UIWebView and add that to the view hierarchy.
If your user clicks the ad, the UIWebView-delegate will be called and you can decide what you want to do (e.g. open safari with the URL defined by the HTML-Link).