React-native How to downgrade after downgrading Google subscription - react-native

I am trying to service google subscription using react-native.
I proceed with the downgrade using DEFERRED MODE.
When downgrading, the previous purchaseToken is required, so enter it.
We have 3 levels of subscription.
If the user has purchased the No.3 (highest tier) subscription.
After that, users can downgrade to No.2.
However, if the user tries to downgrade to No.1 after downgrading to No.2, the downgrade is impossible because the purchaseToken that purchased No.2 cannot be found.
I think there are cases where users make the wrong choice. How can I find the purchaseToken that bought No.2 in this case?

Related

Electron version v14 to v15 update Problem

I have the following problem and now after several days still can not solve it.
I am upgrading an Electron app from version 12 to version 22. The app is there to make certain data packages of our customer more manageable. I have already managed to update the app to version 22, but there is still an error that occurred when updating from version 14 to version 15.
To log in to the app, the external login page of our customer opens in a second window of the app. The login is handled there. I only get back whether the login was successful or not. Afterwards it is checked if the file packages are up to date or if updates are available ect.
So far, everything works fine. But from version 14 to version 15 of Electron there is a problem. The login works, but the following query for updates ect. fails. This query is only possible if you are logged in.
In the Developer Tools I see that I get redirected from request url to the login page. As far as I understand, the Problem is related to the cookies. As if the query would not have access to the cookies of the successful login. But when I look at the breaking changes of version 15 I don't find anything about it.
Does anyone know what the problem could be or how I could fix it?

wso2 emm apk version management using the WSO2 store

I am testing WSO2-Emm system for managing our android mobile app. We have an app for taxi drivers. We deploy it using our tablets and a single gmail account. Our problem is that google allows up to 10 signed in devices for a single google account.
I have tried to load the apk to the WSO2 store. The problem is that when I want to upload a new version of the same app I get a warning message saying that this APK already exists in the store. When I try to rename it and add it as a new apk it works. The problem is that when I go to App-Management, the application appears under 'installed'. The Emm system doesn't detect there is a new version.
To be more specific, my question is is there a way to manage mobile application versions using the WSO2 store and not the google play store.
If there is a way we can go on with this system. If not, we will stop testing it.
The only way I've figured out how update an already installed app is by going to the App Management tab, selecting your latest version of the app in question, and hitting the install button under the Roles tab (NOT the Users tab). It will send the install command to any devices listed under roles you have checked, even if they already have the app installed. Keep in mind this will install the app on all the devices, even devices that already have the version you're trying to put out.
It looks like you already know about the patch on EMM-686 that must be implemented in order to upload multiple versions of the same app to the Publisher. Just in case you want to confirm it's implemented correctly, see my answer here for instructions on how to implement it.

Windows Phone - Restricrt users from using previous version of an app

I am working on a Windows Phone News Client and recently we changed some of the APIs. For that some of the older versions of my app is crashing heavily as there are format mismatches.
My question: Is there any way available to restrict users of previous version (suppose version 1.0.0.0) using that particular version? Or, force them to download the latest version of app (suppose version 1.0.0.1) from store? Does Windows Phone Store have any built in feature for this purpose?
Please guide me. Thanks.
As far as I can see, there is no such feature in Windows Phone Store to accomplish your requirement. When update available user will be notified, but the update won't get installed automatically without user action.
You should implement logic to restrict user in the application it self. For example, upon application start up, check current version against latest version in server, then close the application if it isn't up-to-date.

OpenERP Apps for more than 3 users

one month before i installed openerp 7 all in one version in windows, i have successfully installed the apps when i have user less then 3 but when i create more users and try to install more app openerp account ask for email and password after that he display following message (An OpenERP Enterprise subscription is required for one-click installation of OpenERP Apps for more than 3 users.)
how to fix this issue please guide me,
i also delete all the user except administrator but same message is displayed. even i deleted the database and restore another database and try to install app but same message is displayed with old database name and same number of users
You just need to sign in with the account you used to download the installation package. The local server will then start downloading the files.
Go to the APPS section of your account to get the download.
Ideally though, you can also set up BZR to do a pull so when there are updates you can get them in relatively easily also.
Well clearly it is a bug in OpenERP v7.
I have created a bug report https://bugs.launchpad.net/openobject-addons/+bug/1260377 fell free to subscribe to it.

Determine whether app has been previously installed

I'm about to implement some unlock-functionality In-App-Purchase in an app. The client would like the functionality to be available the first two weeks after installing the app, and then go away until the user pays up.
I need the app to determine whether it has been previously installed, deleted, and installed again. If I can't do that users can just reinstall the app and get two more weeks for free.
Any ideas?
It seems all data is deleted when the app itself is deleted, which kind of limits my options. There is a server backend to the app. Is my best option to log something there or is there another way?
You can make use of the keychain in iOS. It will not be removed even if you uninstall the app. But you have to make sure you use the same provisioning profile across different versions of your application.
And, have a look at this utility