I have a db with a table of serial keys. All the keys are generated with a key generator. The key generator creates keys as following: admin selects one or several apps (with the check boxes) and the generator creates the number of keys the user selected in the combo (1, 10, 100, 500, 1000, 10000).
For instance, user selects 100 in combo and checks APP2 and APP6 so the generator creates 100 randoms keys with APP2 and APP6 with setting value = 1 and the others fields (APP1, APP3, APP4, APP5, APP7) value = 0. Once the keys are generated and inserted into serials table, an excel file with the 100 keys is automatically downloaded.
This is Key generator is done in PHP7/MyQL and I will share the source with the awarded freelancer.
The first milestone is to develop an android app source (with appcompat) that asks customer to type a serial key* to be verified with the server (php webservice) if this key exists in table and if the app2 field is equal 1 (for the instance the app source has a parameter APP_ID = 2 that is changed for each of the 7 apps) the serial key entry in table is updated for the field APP2 from 1 to 0. When user clicks "verif" it displays a loading animation and the app calls php webservice by submitting parameters APP_ID and the key.
If the key has app2=0 in serials table the app displays an alert dialog "App 2 has been already installed once".
If the key doesn't exist the app displays an alert dialog "The key is not valid".
If the key exists and if app2=1, the user access to the application view. The app2 value is updated from 1 to 0 and the app remembers with SharedPreferences so the next time the app is launched, the users goes directly to the application view after splash screen.
If the customer doesn't have any key he can purchase an inapp purchase (for instance $1) to access to the app view (and remember with SharedPreferences).
In that case (inapp purchase) there is no new key generated only an inapp purchase so if he uninstall the app he can install again and restore the purchase to access again to the applicatoin view (and remember with SharedPreferences). With a serial key, if customer uninstalls the app 2 he can't use anymore the serial for the APP_ID = 2 but he can still use it for the APP_ID = 6 that is equal 1 in table.
The milestone 3 is the same but for ios (NSUserDefaults instead of SharedPreferences, restoreCompletedTransactions etc...).
You have some details in the [url removed, login to view] herewith.
The webservice must be developped in PHP version 7 and Core PHP (no framework such cakephp, etc ...)
* When customer types a key, there is 4 text fields and after typing four digits/letters, the cursor goes to the next text field. On the 4th textfield, the virtual keyboard hides.
17 Freelancer bieten im Durchschnitt $245 für diesen Job
Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start Thanks