{"id":262660,"date":"2015-07-31T11:46:02","date_gmt":"2015-07-31T07:46:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=262660"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=262660","title":{"rendered":"In App Purchase \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Soomla. \u0411\u044b\u0441\u0442\u0440\u043e \u0438 \u043f\u0440\u043e\u0441\u0442\u043e"},"content":{"rendered":"<p>             <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/0b0\/40d\/20f\/0b040d20fd16485c85cd95710aaf8eef.png\"\/><\/p>\n<p>  \u0412 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0438\u0438\u0433\u0440\u043e\u0432\u044b\u0435 \u043f\u043e\u043a\u0443\u043f\u043a\u0438 \u0432 \u0441\u0432\u043e\u044e \u0438\u0433\u0440\u0443 \u0438 \u0432\u0441\u0442\u0430\u043b \u0432\u043e\u043f\u0440\u043e\u0441, \u0430 \u043a\u0430\u043a\u043e\u0439 \u0436\u0435 \u043f\u043b\u0430\u0433\u0438\u043d \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 Unity3D? \u0415\u0441\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u0432\u0435\u0449\u0438 \u043a\u0430\u043a OpenIAB, Prime31, Unibill \u0438 Soomla. \u0411\u043e\u043b\u0435\u0435 \u043c\u0435\u043b\u043a\u0438\u0435 \u0432\u0435\u0449\u0438 \u0431\u0440\u0430\u0442\u044c \u0432 \u0440\u0430\u0441\u0447\u0435\u0442 \u043d\u0435 \u0431\u0443\u0434\u0435\u043c, \u0438\u0431\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043d\u0438\u0445 \u043b\u0438\u0431\u043e \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432\u043e\u043e\u0431\u0449\u0435, \u043b\u0438\u0431\u043e \u0438\u043c\u0435\u044e\u0442 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u041a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u0437\u043d\u0430\u0442\u044c, \u043f\u043e\u0447\u0435\u043c\u0443 \u0432\u044b\u0431\u043e\u0440 \u043f\u0430\u043b \u0438\u043c\u0435\u043d\u043d\u043e \u043d\u0430 Soomla, \u0438 \u043a\u0430\u043a \u0435\u0433\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.<br \/>  <a name=\"habracut\"><\/a><br \/>  \u0418\u0442\u0430\u043a, \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432, \u043a\u0430\u043a \u0432\u0438\u0434\u043d\u043e, \u043c\u043d\u043e\u0433\u043e \u0438 \u043f\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044e \u0442\u043e\u043f\u0438\u043a\u0430 \u0432\u0438\u0434\u043d\u043e, \u043a\u0430\u043a\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u0432 \u0438\u0442\u043e\u0433\u0435, \u043d\u043e \u043f\u043e\u0447\u0435\u043c\u0443? \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043a\u0430\u0436\u0434\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e.<\/p>\n<h3>OpenIAB<\/h3>\n<p>  <u>\u041f\u043b\u044e\u0441\u044b<\/u>:  <\/p>\n<ul>\n<li>\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0441\u0442\u044c<\/li>\n<li>\u041e\u0442\u043a\u0440\u044b\u0442\u043e\u0441\u0442\u044c<\/li>\n<li>\u0411\u043e\u043b\u044c\u0448\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e<\/li>\n<li>\u041f\u0440\u043e\u0441\u0442\u043e\u0442\u0430<\/li>\n<li>\u041d\u0435\u043f\u043b\u043e\u0445\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/li>\n<li>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 iOS \u0438 Android (\u041f\u043e\u0437\u0434\u043d\u0435\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u043d\u0435 \u0442\u0430\u043a)<\/li>\n<\/ul>\n<p>  <u>\u041c\u0438\u043d\u0443\u0441\u044b<\/u>:  <\/p>\n<ul>\n<li>\u041f\u043e\u0447\u0442\u0438 \u043d\u0435\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 iOS<\/li>\n<li>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f \u0432\u0435\u0441\u044c\u043c\u0430 \u0440\u0435\u0434\u043a\u0438 (\u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0431\u044b\u043b\u043e 4 \u043c\u0435\u0441\u044f\u0446\u0430 \u043d\u0430\u0437\u0430\u0434)<\/li>\n<\/ul>\n<p>  <u>\u041c\u043d\u0435\u043d\u0438\u0435<\/u>:<br \/>  \u0413\u0440\u0435\u0448\u0443, \u044f \u0438 \u0440\u0430\u043d\u0435\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 \u044d\u0442\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439, \u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0434 Android, \u043a\u043e\u0433\u0434\u0430 \u0436\u0435 \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0441\u0442\u043e\u0440\u043e\u043d\u043e\u0439 iOS, \u0442\u043e \u043c\u0435\u043d\u044f \u0436\u0434\u0430\u043b\u043e \u0440\u0430\u0437\u043e\u0447\u0430\u0440\u043e\u0432\u0430\u043d\u0438\u0435, OpenIAB \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b, \u0442.\u043a. \u0435\u0433\u043e event&#8217;\u044b \u043d\u0435 \u0434\u0430\u0432\u0430\u043b\u0438 \u043e\u0442\u043a\u043b\u0438\u043a\u0430, \u0438 \u043a\u0430\u043a \u043d\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0430, \u043f\u043e\u0442\u043e\u043c\u0443 \u043e\u0442 \u044d\u0442\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f, \u043d\u043e \u0441\u0442\u043e\u0438\u0442 \u043e\u0442\u0434\u0430\u0442\u044c \u0435\u0439 \u0434\u043e\u043b\u0436\u043d\u043e\u0435, \u043f\u043e\u0434 Android \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0430 \u043e\u043d\u0430 \u0431\u0435\u0437\u0443\u043f\u0440\u0435\u0447\u043d\u043e, \u043d\u043e \u0432 \u044d\u0442\u043e\u043c \u0438 \u043d\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u043b\u043e\u0441\u044c \u0441\u043e\u043c\u043d\u0435\u0432\u0430\u0442\u044c\u0441\u044f, \u0432\u0435\u0434\u044c \u0434\u0430\u0436\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u043d\u0430 c++ \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0434 \u044d\u0442\u0443 \u041e\u0421.<\/p>\n<h3>Unibill<\/h3>\n<p>  <u>\u041f\u043b\u044e\u0441\u044b<\/u>:  <\/p>\n<ul>\n<li>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u0430 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u043e\u0432<\/li>\n<li>\u041e\u0442\u043b\u0438\u0447\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/li>\n<li>\u041f\u0440\u043e\u0441\u0442\u043e\u0442\u0430 \u0438 \u043b\u0435\u0433\u043a\u043e\u0441\u0442\u044c \u0432 \u043e\u0441\u0432\u043e\u0435\u043d\u0438\u0438<\/li>\n<\/ul>\n<p>  <u>\u041c\u0438\u043d\u0443\u0441\u044b<\/u>:  <\/p>\n<ul>\n<li>\u0426\u0435\u043d\u0430 (175$)<\/li>\n<li>\u0421\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e, \u043a\u0430\u043a \u0442\u0430\u043a\u043e\u0432\u043e\u0435 \u043f\u043e\u0447\u0442\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442<\/li>\n<\/ul>\n<p>  <u>\u041c\u043d\u0435\u043d\u0438\u0435<\/u>:<br \/>  \u0421 Unibill \u0432\u0441\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u0441\u0442\u043e. \u0421\u0440\u0430\u0437\u0443 \u0431\u044b\u043b\u0438 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043a \u0446\u0435\u043d\u0435, 175$ \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0435 \u0434\u0435\u043d\u044c\u0433\u0438, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0443\u0447\u0438\u0442\u044b\u0432\u0430\u044f, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u0434\u0435\u0448\u0435\u0432\u044b\u0435 \u0430\u043d\u0430\u043b\u043e\u0433\u0438, \u043f\u043e\u0442\u043e\u043c\u0443 \u0441\u0440\u0430\u0437\u0443 \u043d\u0435\u0442, \u043d\u043e \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0444\u0438\u043d\u0430\u043d\u0441\u044b \u0438 \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0442\u0440\u0430\u0442\u0438\u0442\u044c \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0442\u043e \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442.<\/p>\n<h3>Prime[31]<\/h3>\n<p>  <u>\u041f\u043b\u044e\u0441\u044b<\/u>:  <\/p>\n<ul>\n<li>\u041e\u0442\u043b\u0438\u0447\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/li>\n<li>\u041f\u0440\u043e\u0441\u0442\u043e\u0442\u0430 \u0438 \u043b\u0435\u0433\u043a\u043e\u0441\u0442\u044c \u0432 \u043e\u0441\u0432\u043e\u0435\u043d\u0438\u0438<\/li>\n<li>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u043e\u0432, \u043d\u043e \u0441 \u043e\u0433\u043e\u0432\u043e\u0440\u043a\u043e\u0439.<\/li>\n<li>\u0411\u043e\u043b\u044c\u0448\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e.<\/li>\n<\/ul>\n<p>  <\/p>\n<ul>\n<li>\u041f\u043e\u0434 \u043a\u0430\u0436\u0434\u0443\u044e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 \u0446\u0435\u043d\u0430 \u043f\u043b\u0430\u0433\u0438\u043d\u0430 70 $.<\/li>\n<\/ul>\n<p>  <u>\u041c\u043d\u0435\u043d\u0438\u0435<\/u>:<br \/>  \u041f\u043b\u0430\u0433\u0438\u043d\u044b \u043e\u0442 prime[31] \u0441\u043b\u0430\u0432\u044f\u0442\u0441\u044f \u0441\u0432\u043e\u0438\u043c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e, \u043d\u043e \u0446\u0435\u043d\u0430 \u0442\u043e\u0436\u0435 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0436\u0435\u043b\u0430\u0442\u044c \u043b\u0443\u0447\u0448\u0435\u0433\u043e, 70$ \u043f\u043e\u0434 \u043a\u0430\u0436\u0434\u0443\u044e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u043f\u0440\u0435\u0434\u0435\u043b \u043c\u0435\u0447\u0442\u0430\u043d\u0438\u0439, \u043d\u043e \u0442\u0443\u0442 \u0443\u0436\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u0430\u044f \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u044f \u0441 \u043e\u0433\u0440\u043e\u043c\u043d\u044b\u043c \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e\u043c \u0438 \u043e\u0442\u043b\u0438\u0447\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0435\u0439 \u0438 \u0442.\u043a. \u043d\u0443\u0436\u0435\u043d \u0431\u044b\u043b \u043f\u043b\u0430\u0433\u0438\u043d \u0432\u0441\u0435\u0433\u043e \u043f\u043e\u0434 2 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b \u0446\u0435\u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0438\u043b\u0430 \u043d\u0438\u0436\u0435, \u0447\u0435\u043c \u0443 Unibill, \u043d\u043e \u0432\u0441\u0435 \u0440\u0430\u0432\u043d\u043e \u0431\u044b\u043b \u0432\u044b\u0431\u0440\u0430\u043d \u043d\u0435 \u044d\u0442\u043e\u0442 \u0432\u0430\u0440\u0438\u0430\u043d\u0442, \u0430 \u043d\u0438\u0436\u0435\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439.<\/p>\n<h3>Soomla<\/h3>\n<p>  <u>\u041f\u043b\u044e\u0441\u044b<\/u>:  <\/p>\n<ul>\n<li>\u041e\u0442\u043b\u0438\u0447\u043d\u0430\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/li>\n<li>\u041f\u0440\u043e\u0441\u0442\u043e\u0442\u0430 \u0438 \u043b\u0435\u0433\u043a\u043e\u0441\u0442\u044c \u0432 \u043e\u0441\u0432\u043e\u0435\u043d\u0438\u0438<\/li>\n<li>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0435 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b.<\/li>\n<li>\u0411\u043e\u043b\u044c\u0448\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e.<\/li>\n<li>\u0411\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e\u0441\u0442\u044c.<\/li>\n<\/ul>\n<p>  <u>\u041c\u0438\u043d\u0443\u0441\u044b<\/u>:  <\/p>\n<ul>\n<li>\u0420\u0430\u0431\u043e\u0442\u0430 \u0447\u0435\u0440\u0435\u0437 \u0438\u0445 \u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u0430\u0431\u0438\u043d\u0435\u0442<\/li>\n<\/ul>\n<p>  <u>\u041c\u043d\u0435\u043d\u0438\u0435<\/u>:<br \/>  Soomla \u0436\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u043c, \u0442.\u043a. \u0443 \u043d\u0435\u0433\u043e \u0435\u0441\u0442\u044c \u0432\u0441\u0435 \u043f\u043b\u044e\u0441\u044b \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432 \u043e\u0442 prime[31], \u043d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u044d\u0442\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u0430, \u0445\u043e\u0442\u044c \u0438 \u0441\u043c\u0443\u0442\u0438\u043b\u043e \u0442\u043e, \u0447\u0442\u043e \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0435\u0449\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u043b\u0438\u0447\u043d\u044b\u0439 \u043a\u0430\u0431\u0438\u043d\u0435\u0442 \u043d\u0430 \u0438\u0445 \u0441\u0430\u0439\u0442\u0435, \u043d\u043e \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u0434\u0435\u043b\u0430\u0442\u044c \u0442\u0430\u043c \u043f\u043e\u0447\u0442\u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0432\u044b\u0431\u043e\u0440 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043d\u0430 \u044d\u0442\u043e\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435.<\/p>\n<h2>\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0432 \u043f\u0440\u043e\u0435\u043a\u0442<\/h2>\n<p>  \u041f\u0435\u0440\u0432\u043e\u0435, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c (\u0412\u043d\u0435\u0437\u0430\u043f\u043d\u043e!) \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043f\u043b\u0430\u0433\u0438\u043d, \u043c\u043e\u0436\u043d\u043e \u0441 Asset Store, \u043c\u043e\u0436\u043d\u043e \u0441 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430, \u0440\u0430\u0437\u043d\u0438\u0446\u044b \u043d\u0435\u0442. \u0418 \u0442\u0430\u043c \u0438 \u0442\u0430\u043c \u043f\u043b\u0430\u0433\u0438\u043d \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0447\u0442\u0438 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e.<\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0430 \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u043b\u0430\u0433\u0438\u043d\u0430, \u043f\u0435\u0440\u0432\u043e\u0435 \u043d\u0430\u043f\u0435\u0440\u0432\u043e \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432 editor&#8217;\u0435.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/3cd\/d30\/89d\/3cdd3089d26c4871b339edbe46d1bff6.png\"\/><\/p>\n<p>  \u0412 Soomla Secret \u0432\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0443\u043a\u0430\u0437\u0430\u0442\u044c Game Key, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u043b\u0438\u0447\u043d\u043e\u043c \u043a\u0430\u0431\u0438\u043d\u0435\u0442\u0435 Soomla. <b>\u0411\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442!<\/b><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/38b\/4c4\/3fe\/38b4c43fed9040c2878f4fc23015f93b.png\"\/><\/p>\n<p>  Debug Native \u0438 Debug Unity \u044d\u0442\u043e \u043d\u0430 \u0432\u0430\u0448 \u043b\u0438\u0447\u043d\u044b\u0439 \u0432\u044b\u0431\u043e\u0440. \u0412 Android Settings package name \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438, \u0430 \u0434\u0430\u043b\u044c\u0448\u0435 \u0432\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u044b \u043d\u0430 Android \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435. \u0414\u0443\u043c\u0430\u044e, API Key \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u043e\u0442\u043a\u0443\u0434\u0430 \u0431\u0440\u0430\u0442\u044c. Receipt Validation \u0442\u0430\u043a \u0436\u0435 \u043d\u0430 \u0432\u0430\u0448 \u0432\u044b\u0431\u043e\u0440. \u0412\u0441\u0435, \u043e\u0441\u043d\u043e\u0432\u0443 \u043c\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b\u0438, \u043f\u043e\u0440\u0430 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u043a \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u043c.<\/p>\n<p>  \u041d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c \u043a\u043b\u0430\u0441\u0441\u0435 \u043d\u0430\u0448\u0438 \u0442\u043e\u0432\u0430\u0440\u044b, \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043c\u044b \u043c\u043e\u0433\u043b\u0438 \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u044c \u0438\u0445, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \u0442\u0430\u043a:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043e\u043a\u0443\u043f\u043e\u043a<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>using Soomla.Store;\/\/\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c Soomla using Soomla;\/\/\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c Soomla  public class dataIAP : IStoreAssets  { \/\/\u041d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c\u0441\u044f \u043e\u0442 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 IStoreAssets  \t\tpublic int GetVersion() { \/\/\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u044e GetVersion, \u0447\u0442\u043e \u043e\u043d\u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0432\u0430\u0436\u043d\u043e, \u0435\u0441\u043b\u0438 \u0432\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0432 \u043b\u0438\u0447\u043d\u043e\u043c \u043a\u0430\u0431\u0438\u043d\u0435\u0442\u0435 \u0441\u0443\u043c\u043b\u044b \t\t\treturn 0; \t\t}  \t\tpublic VirtualCurrency[] GetCurrencies() { \/\/\u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \u043d\u0430\u0448\u0438 \u0432\u0430\u043b\u044e\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u043f\u0440\u043e\u0434\u0430\u0435\u043c \u0437\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0435\u043d\u044c\u0433\u0438  \t\t\treturn new VirtualCurrency[]{ITEM_OBJECT}; \t\t}  \t\tpublic VirtualCurrencyPack[] GetCurrencyPacks(){ \/\/\u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \u043f\u0430\u043a\u0438 \u0441 \u043d\u0430\u0448\u0438\u043c\u0438 \u0432\u0430\u043b\u044e\u0442\u0430\u043c\u0438 \t\t\treturn new VirtualCurrencyPack[]{PACK_1_OBJECT, PACK_2_OBJECT}; \t\t}  \t\tpublic VirtualGood[] GetGoods() { \t\t\treturn new VirtualGood[0]; \/\/\u0412\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0431\u043b\u0430\u0433\u0430 \t\t}  \t\tpublic VirtualCategory[] GetCategories() { \t\t\treturn new VirtualCategory[0]; \/\/\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0431\u043b\u0430\u0433 \u0438 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0445 \u0432\u0435\u0449\u0435\u0439 \t\t}  \t\tpublic const string ITEM_ID = &quot;ITEM_ID&quot;;\/\/ \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043b\u044e\u0431\u043e\u0439 \u0443\u0434\u043e\u0431\u043d\u044b\u0439 ID  \t\tpublic const string PACK_1 = &quot;ID_PACK_1&quot;;\/\/ \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c id, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0443\u043a\u0430\u0437\u0430\u043b\u0438 \u0432 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0435 (App Store, Google Play) \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0430 \t\tpublic const string PACK_2= &quot;ID_PACK_2&quot;;\/\/ \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c id, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0443\u043a\u0430\u0437\u0430\u043b\u0438 \u0432 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0435 (App Store, Google Play) \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0430\u043a\u0430  \t\tpublic static VirtualCurrency ITEM_OBJECT = new VirtualCurrency(\/\/\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442 \u043d\u0430\u0448\u0435\u0439 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0430\u043b\u044e\u0442\u044b \t\t\t&quot;ITEM_ID &quot;,\/\/\u0418\u043c\u044f \u0432\u0430\u043b\u044e\u0442\u044b\t\t\t\t\t\t\t\t\t \t\t\t&quot;ITEM_COIN&quot;, \/\/\u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0432\u0430\u043b\u044e\u0442\u044b\t\t\t\t\t\t\t\t\t\t \t\t\tITEM_ID \/\/id \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0430\u043b\u044e\u0442\u044b \t\t\t);  \t\tpublic static VirtualCurrencyPack PACK_1_OBJECT = new VirtualCurrencyPack(\/\/\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043e\u0431\u044a\u0435\u043a\u0442 \u043f\u0430\u043a\u0430 \u0441 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0430\u043b\u044e\u0442\u043e\u0439 \t\t\t&quot;PACK_1&quot;,\/\/\u0438\u043c\u044f \u043f\u0430\u043a\u0430\t\t\t\t\t\t\t\t\t\t \t\t\t&quot;&quot;,\/\/\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043f\u0430\u043a\u0430\t\t\t\t\t\t\t\t\t\t\t\t \t\t\tPACK_1 ,\/\/ \u0423\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c id \u043f\u0430\u043a\u0430 \t\t\t100, \/\/\u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u0430\u043b\u044e\u0442\u044b \u0432 \u043f\u0430\u043a\u0435 \t\t\tITEM_ID ,\/\/id \u0432\u0430\u043b\u044e\u0442\u044b \u0432 \u043f\u0430\u043a\u0435 \t\t\tnew PurchaseWithMarket(PACK_1 , 1.99) \/\/\u041f\u0435\u0440\u0432\u044b\u043c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c id \u043f\u0430\u043a\u0430 \u0432 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0435, \u0432\u0442\u043e\u0440\u044b\u043c \u0435\u0433\u043e \u0446\u0435\u043d\u0443(\u043d\u0435 \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u043e, \u0435\u0441\u043b\u0438 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f) \t\t\t); \t\tpublic static VirtualCurrencyPack PACK_2_OBJECT = new VirtualCurrencyPack(\/\/\u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e \t\t\t&quot;PACK_2&quot;,\t\t\t\t\t\t\t\t\t\t \t\t\t&quot;&quot;,\t\t\t\t\t\t\t\t\t\t\t\t \t\t\tPACK_2, \t\t\t200,  \t\t\tITEM_ID , \t\t\tnew PurchaseWithMarket(PACK_2, 5.99) \t\t\t); \t} <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  \u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c \u0431\u043e\u043b\u0435\u0435 \u0438\u043b\u0438 \u043c\u0435\u043d\u0435\u0435 \u0432\u0441\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043d\u043e \u044f \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u043b 2 \u0432\u0435\u0449\u0438 \u044d\u0442\u043e \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 &#8216;\u0431\u043b\u0430\u0433\u0430&#8217; \u0438 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438, \u043e\u043d\u0438 \u0432 \u043e\u0441\u043d\u043e\u0432\u0435 \u043d\u0443\u0436\u043d\u044b \u0442\u0435\u043c, \u043a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0434\u0430\u0436\u0443 \u0434\u0430\u0436\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u043e\u043a\u0443\u043f\u043e\u043a, \u043d\u0435 \u0437\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0435\u043d\u044c\u0433\u0438, \u0430 \u0434\u0430\u0436\u0435 \u0437\u0430 \u0442\u0443 \u0432\u0430\u043b\u044e\u0442\u0443, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u044b \u043f\u0440\u043e\u0434\u0430\u0435\u0442\u0435 \u0437\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0435\u043d\u044c\u0433\u0438 \u0447\u0435\u0440\u0435\u0437 \u043b\u0438\u0447\u043d\u044b\u0445 \u043a\u0430\u0431\u0438\u043d\u0435\u0442 \u0441\u0443\u043c\u043b\u044b, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043c\u044b \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043f\u043e\u0437\u0436\u0435.<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u043c\u044b \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043b\u0438 \u0432\u0441\u0435 \u043d\u0430\u0448\u0438 \u0432\u043d\u0443\u0442\u0440\u0438\u0438\u0433\u0440\u043e\u0432\u044b\u0435 \u043f\u043e\u043a\u0443\u043f\u043a\u0438, \u043d\u043e \u043a\u0430\u043a \u0436\u0435 \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u044d\u0442\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u043b\u0430\u0433\u0438\u043d\u0443 \u0438 \u043a\u0430\u043a \u0436\u0435 \u0441\u043e\u0432\u0435\u0440\u0448\u0430\u0442\u044c \u043f\u043e\u043a\u0443\u043f\u043a\u0438?<\/p>\n<p>  \u0410 \u044d\u0442\u043e \u0432\u0435\u0441\u044c\u043c\u0430 \u043f\u0440\u043e\u0441\u0442\u043e:<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f Soomla<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>using Soomla; using Soomla.Store;  public class Test { \t \tpublic Test () {  \t\tSoomlaStore.Initialize (new dataIAP ());\/\/\u041f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u043f\u0440\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430\u0448 \u043e\u0431\u044a\u0435\u043a\u0442 \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u043e \u043f\u0430\u043a\u0430\u0445          #if UNITY_ANDROID \t\tSoomlaStore.StartIabServiceInBg (); \/\/\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043b\u044f Android, \u0431\u0435\u0437 \u044d\u0442\u043e\u0433\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \t\t#endif \t}  \tpublic void PayPack_1() \t{ \t\tSoomlaStore.BuyMarketItem (StoreInfo.CurrencyPacks [0].ItemId, &quot;&quot;);\/\/\u041a\u0443\u043f\u0438\u0442\u044c \u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u0430\u043a \t}  \tpublic void PayPack_2() \t{ \t\tSoomlaStore.BuyMarketItem (StoreInfo.CurrencyPacks [1].ItemId, &quot;&quot;);\/\/\u041a\u0443\u043f\u0438\u0442\u044c \u0432\u0442\u043e\u0440\u043e\u0439 \u043f\u0430\u043a \t}      public void Quit() \t{ \t\tSoomlaStore.StopIabServiceInBg (); \t} } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u041e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u0430\u044f \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f, \u043d\u043e \u043d\u0430\u0441 \u0432\u0435\u0434\u044c \u0435\u0449\u0435 \u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u044e\u0442 \u0441\u043e\u0431\u044b\u0442\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u043c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b, \u0430 \u0432\u043e\u0442 \u0438 \u043e\u043d\u0438(\u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435):<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043e\u0431\u044b\u0442\u0438\u044f<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code>using System; using System.Collections.Generic; using Soomla; using Soomla.Store;  public class ExampleEventHandler {  \t\/\/\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u043a\u043b\u0430\u0441\u0441\u0430 \tpublic ExampleEventHandler () { \t\t\/\/\u0412\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043a\u0443\u043f\u043a\u0430 \u0437\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0435\u043d\u044c\u0433\u0438 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0430 \t\tStoreEvents.OnMarketPurchase += onMarketPurchase; \t\t\/\/\u0412\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043a\u0443\u043f\u043a\u0430 \u0437\u0430 \u0432\u043d\u0443\u0442\u0440\u0438\u0438\u0433\u0440\u043e\u0432\u0443\u044e \u0432\u0430\u043b\u044e\u0442\u0443 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0430 \t\tStoreEvents.OnItemPurchased += onItemPurchased; \t\t\/\/\u0412\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u043e\u043a\u0443\u043f\u043e\u043a \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \t\tStoreEvents.OnBillingSupported += onBillingSupported; \t\t\/\/\u0412\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u0435\u0441\u043b\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u043e\u043a\u0443\u043f\u043e\u043a \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f \t\tStoreEvents.OnBillingNotSupported += onBillingNotSupported; \t\t\/\/\u0412\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u0447\u0430\u0442\u0430 \u043f\u043e\u043a\u0443\u043f\u043a\u0430 \u0437\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0435\u043d\u044c\u0433\u0438 \t\tStoreEvents.OnMarketPurchaseStarted += onMarketPurchaseStarted; \t\t\/\/\u0412\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u0447\u0430\u0442\u0430 \u043f\u043e\u043a\u0443\u043f\u043a\u0430 \u0437\u0430 \u0432\u043d\u0443\u0442\u0440\u0438\u0438\u0433\u0440\u043e\u0432\u0443\u044e \u0432\u0430\u043b\u044e\u0442\u0443 \t\tStoreEvents.OnItemPurchaseStarted += onItemPurchaseStarted; \t\t\/\/\u0412\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043a\u0443\u043f\u043a\u0430 \u0437\u0430 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0435 \u0434\u0435\u043d\u044c\u0433\u0438 \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u0430 \t\tStoreEvents.OnMarketPurchaseCancelled += onMarketPurchaseCancelled; \t\t\/\/\u0412\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u043c\u0430\u0433\u0430\u0437\u0438\u043d \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d \t\tStoreEvents.OnSoomlaStoreInitialized += onSoomlaStoreInitialized; \t\t\/\/\u0412\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u0432\u043d\u0443\u0442\u0440\u044f\u043d\u043d\u044f\u044f \u043e\u0448\u0438\u0431\u043a\u0430 Soomla \t\tStoreEvents.OnUnexpectedStoreError += onUnexpectedStoreError;  \t\t\/\/\u0422\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0430\u043d\u0434\u0440\u043e\u0438\u0434 #if UNITY_ANDROID && !UNITY_EDITOR \t\tStoreEvents.OnIabServiceStarted += onIabServiceStarted; \t\tStoreEvents.OnIabServiceStopped += onIabServiceStopped; #endif \t} \tpublic void onUnexpectedStoreError(int errorCode) { \t\tSoomlaUtils.LogError (&quot;ExampleEventHandler&quot;, &quot;error with code: &quot; + errorCode); \t} \tpublic void onMarketPurchase(PurchasableVirtualItem pvi, string payload, Dictionary&lt;string, string&gt; extra) {  \t} \tpublic void onItemPurchased(PurchasableVirtualItem pvi, string payload) {  \t} \tpublic void onBillingSupported() {  \t} \tpublic void onBillingNotSupported() {  \t} \tpublic void onMarketPurchaseStarted(PurchasableVirtualItem pvi) {  \t} \tpublic void onItemPurchaseStarted(PurchasableVirtualItem pvi) {  \t} \tpublic void onMarketPurchaseCancelled(PurchasableVirtualItem pvi) {  \t} \tpublic void onCurrencyBalanceChanged(VirtualCurrency virtualCurrency, int balance, int amountAdded) {  \t} \tpublic void onSoomlaStoreInitialized() { \t\t \t}  #if UNITY_ANDROID && !UNITY_EDITOR \tpublic void onIabServiceStarted() {  \t} \tpublic void onIabServiceStopped() {  \t} #endif }<\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412\u043e\u0442 \u0438 \u0432\u0441\u0435, \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0433\u043e\u0442\u043e\u0432\u0430 \u043a \u0440\u0430\u0431\u043e\u0442\u0435. <\/p>\n<p>  \u041d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e \u043b\u0438\u0447\u043d\u043e\u043c \u043a\u0430\u0431\u0438\u043d\u0435\u0442\u0435 Soomla. \u0422\u0430\u043c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u0432\u0441\u0435 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438 \u0432\u0430\u0448\u0438\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439, \u043a\u0430\u043a \u0441 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0434\u0435\u043d\u044c\u0433\u0430\u043c\u0438, \u0442\u0430\u043a \u0438 \u0441 \u0432\u043d\u0443\u0442\u0440\u0438\u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u0432\u0430\u043b\u044e\u0442\u043e\u0439, \u0434\u043b\u044f \u0442\u043e\u0433\u043e \u0438 \u043d\u0443\u0436\u043d\u044b \u0431\u043b\u0430\u0433\u0430 \u0438 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u043e\u0449\u0435 \u0431\u044b\u043b\u043e \u0432\u0441\u0435 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c, \u043d\u043e \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u044d\u0442\u043e\u0439 \u0432\u0435\u0449\u044c\u044e \u043d\u0443\u0436\u043d\u043e \u0435\u0449\u0435 \u043f\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 Soomla Highway. \u041d\u043e \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0435 \u043e\u0431 \u044d\u0442\u043e\u043c.<\/p>\n<p>  \u0418 \u043f\u0430\u0440\u0443 \u0441\u043b\u043e\u0432 \u043e \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438. \u0422\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043a\u0443\u043f\u043a\u0438 \u043d\u0430 android \u043f\u0440\u043e\u0441\u0442\u043e, \u0437\u0430\u043b\u0438\u043b\u0438 \u0431\u0438\u043b\u0434, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0434\u043b\u044f \u0431\u0435\u0442\u0430 \u0442\u0435\u0441\u0442\u0430 \u0438 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u043d\u0430 \u0437\u0434\u043e\u0440\u043e\u0432\u044c\u0435, \u043d\u043e \u0432\u043e\u0442 \u043d\u0430 ios \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u0430\u043a\u043a\u0430\u0443\u043d\u0442 \u0434\u043b\u044f sandbox:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/8c5\/a2a\/654\/8c5a2a654bc2401f9e9d0b6b94da0db1.png\"\/>             <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/263899\/\"> http:\/\/habrahabr.ru\/post\/263899\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>             <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/0b0\/40d\/20f\/0b040d20fd16485c85cd95710aaf8eef.png\"\/><\/p>\n<p>  \u0412 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0438\u0438\u0433\u0440\u043e\u0432\u044b\u0435 \u043f\u043e\u043a\u0443\u043f\u043a\u0438 \u0432 \u0441\u0432\u043e\u044e \u0438\u0433\u0440\u0443 \u0438 \u0432\u0441\u0442\u0430\u043b \u0432\u043e\u043f\u0440\u043e\u0441, \u0430 \u043a\u0430\u043a\u043e\u0439 \u0436\u0435 \u043f\u043b\u0430\u0433\u0438\u043d \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 Unity3D? \u0415\u0441\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u0432\u0435\u0449\u0438 \u043a\u0430\u043a OpenIAB, Prime31, Unibill \u0438 Soomla. \u0411\u043e\u043b\u0435\u0435 \u043c\u0435\u043b\u043a\u0438\u0435 \u0432\u0435\u0449\u0438 \u0431\u0440\u0430\u0442\u044c \u0432 \u0440\u0430\u0441\u0447\u0435\u0442 \u043d\u0435 \u0431\u0443\u0434\u0435\u043c, \u0438\u0431\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u043d\u0438\u0445 \u043b\u0438\u0431\u043e \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432\u043e\u043e\u0431\u0449\u0435, \u043b\u0438\u0431\u043e \u0438\u043c\u0435\u044e\u0442 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b. \u041a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u0437\u043d\u0430\u0442\u044c, \u043f\u043e\u0447\u0435\u043c\u0443 \u0432\u044b\u0431\u043e\u0440 \u043f\u0430\u043b \u0438\u043c\u0435\u043d\u043d\u043e \u043d\u0430 Soomla, \u0438 \u043a\u0430\u043a \u0435\u0433\u043e \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0448\u0443 \u043f\u043e\u0434 \u043a\u0430\u0442.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-262660","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/262660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=262660"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/262660\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=262660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=262660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=262660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}