Recently used to IAP built-in purchase, read the official documents, find some information on the Internet, here for the collation, so as to find and modify, the main flow direction to determine, documents and related reproduced content screenshots not one point, Google a bunch.
1. Find the official documents, two table of contents screenshots, the main process of general understanding:
Official documents:
https://developer.apple.com/library/mac/#doc
Developers in the game through the IAP to pay the players, the actual development of problems encountered:Communication between the 1.StoreKit and AppStoreAt first there are concerns about the game inside and AppStore communication between the intermediate links, in fact, this completely do not consider, the communication between Storekit and AppStore is completely apple internal processing, there is no problem, we need to concern is to return to our
If the transaction is completed, to its own server two authentication (server to user value-added operation), the customer service end suddenly broken network or Apple server connection is not what to do, and now do not find the perfect solution, now temporarily use this method:Transaction persists, saves the encrypted Base64 string locally, and automatically re-verifies each time the user logs on.When two authentication, the user's customer service end of the network, will enter the retry state
Domestic Bank cnaps CODE Queryhttp://weekend.blog.163.com/blog/static/746895820127961346724/Why is there only one type of free subscription when Itunesconnect creates an in-store item?http://www.oschina.net/question/865151_115660Why is there only one type of free subscription when Itunesconnect creates an in-store item?Ali hundred Sichuan Dream Entrepreneurship competition, 5 million VC find the best appWhy is there only one type of free subscription when Itunesconnect creates an in-store item?T
Completed a simple IAP upgradeProgramOnly simple programs can be erased.
When the program starts, check the command. If it times out, run the main program. Otherwise
Upgrade mode: splits the binfile and sends program data to the corresponding format.
Board, while the Board directly implements program erasure, only one verification and feedback,
There is no effective verification mechanism. Because only Bin decomposition can be implemented manually
Cocos2dx platform Interconnection (Amazon IAP, Chartboost, Email)The main purpose is to forget. If you are lucky enough to help other friends, it is better that my game uses cocos2dx 2.2.5. Of course, 2.1.x ~ is used ~ Version 2.2.5 is acceptable and remains unchanged. 1. Java calls C ++ 1. Declare a static function with "native" in the JAVA Project, for example (assuming the package name is com. ooxx. mygame class MyActivity {... Public static native
IAPHelper.hiaphelper.h//airplay////Created by Apple on 13-10-23.//Copyright (c) 2013 itcast. All rights reserved.//#import Iaphelper.m iaphelper.m//airplay////Created by Apple on 13-10-23.//Copyright (c) 2013 itcast. All rights reserved.//#import "IAPHelper.h" #import IAP Buy-In
Reduced call to add in-purchase rejectedAddress: http://blog.csdn.net/u010618987/article/details/46849527Abridged name: https://itunes.apple.com/cn/app/jing-jian-dian-ming/id998180156?mt=8A lite call is a call-to-roll app, whether you're a people teacher, a hotel manager, a student cadre, or a coach, and so on, if you have a name for your needs, this [lean name]app is an artifact you absolutely can't miss. With this app, each time you call to take a phone call can be called, the most important t
The iap top-up base64 code for IOS game players is sent to Apple's verification receipt. There is no strange problem in the returned value of in_app. iapin_app
In the past few days, our IOS games have been shelved and many users have been recharged. However, only two people on itunesconnet have actually paid for the game. Someone must have cheated us.
Let's first introduce our verification process:
Recharge initiated by mobile phone-> purchase succes
Four practical ways to pack an IPA in iOS (. App goto. IPA)http://blog.csdn.net/oiken/article/details/49535369Manual compression Change Suffix methodThis approach is essentially the same as the 4.1 approach.STEP1: New "Payload" folder, pay attention to the name of the word is not bad;STEP2: Put your. App package into payload, notice that the app's name doesn't make any changes, just use Xcode to generate the app name;STEP3: Right-click on the payload folder to zip and then change the resulting.
the domestic connection Apple serverAt the beginning of the development, Apple was responsible for informing us that our servers were not stable. After the real development, Apple was found to be responsible, not only unstable, but slow enough. App Store server verifies that a receipt takes 3-6s time.1. Can the user endure 3-6s waiting time2. If the App Store server goes down, how to ensure that users who have paid successfully will get regular service.For the first question, we have reason to
1. SVN does not manage. A files and. pyc Files by default2. These files need to be manually svn Add Prime31 in the relevant directory after importing Prime31.The 3.p31postprocessor.pyc file is the correct library file for link Prime31 in the project when the Xcode project is generated, so if this file is not executed, or an error occurs, the exported Xcode project will have a link error"__storekitrestorecompletedtransactions", referenced from: Et ceteraImport considerations for Unity Prime31
Many friends using the CCS software generated hex files can not be used in C2prog and IAP online programming, there are some inexplicable errors, because the resulting hex file format is incorrect
The following hex files are generated using two methods, and the pro-test is available
(1) Universal method
No matter which version of the. out file is generated by the CCS compiler, the translation can be used only with HEX2000.exe software. Method:
Hex
The solution to reduce such problems is to minimize the server power failure without reason. When the server is shut down, the mysql database is closed manually.Let's take a look at this problem:Can't open file: '×××. myi' (errno: 145). This error
Use alter index ××monitoring usage; statement to monitor the index usage, altermonitoring
With the accumulation of time, in the absence of good planning, the database may have a large number of indexes that are not used for a long time. If you can
Sereja has an arrayA, ConsistingNIntegersA1,A2 ,...,AN. The boy cannot sit and do nothing, he decided to study an array. sereja took a piece of paper and wrote outMIntegersL1 ,?L2 ,?...,?LM(1? ≤?LI? ≤?N). For each numberLIHe wants to know how many
A letter and a number time limit: 3000 MS | memory limit: 65535 KB difficulty: 1
Description
We define f (A) = 1, f (a) =-1, f (B) = 2, f (B) =-2 ,... f (Z) = 26, f (z) =-26;
Give you a letter x and a number y, you shoshould output
Fix The thread xxx has exited with code 259 (0 × 103), exited
When run the test case in VS2013, you may encounter below problem
After test case end, it will show below message infintely no matter how long you wait, test does not finish
The thread 0x2
Topic:Find the kth largest element in an unsorted array. Note that it was the kth largest element in the sorted order and not the kth distinct element.For example,Given [3,2,1,5,6,4] and k = 2, return 5.Note:You may assume k are always valid,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.