{"id":317604,"date":"2021-02-07T15:01:08","date_gmt":"2021-02-07T15:01:08","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=317604"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=317604","title":{"rendered":"\u0421\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u0433\u0430\u0439\u0434 \u043f\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e White Label android-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439"},"content":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<p><em>\u041a\u0430\u043a \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434 \u043e\u0434\u0438\u043d \u0440\u0430\u0437, \u0430 \u043f\u0440\u043e\u0434\u0430\u0442\u044c 20 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439? \u041c\u044b \u043d\u0430\u0448\u043b\u0438 \u043e\u0442\u0432\u0435\u0442 \u043f\u0443\u0442\u0451\u043c \u043f\u0440\u043e\u0431 \u0438 \u0444\u0430\u043a\u0430\u043f\u043e\u0432 \u0438 \u0440\u0430\u0437\u043b\u043e\u0436\u0438\u043b\u0438 \u043e\u043f\u044b\u0442 \u043f\u043e \u043f\u0443\u043d\u043a\u0442\u0430\u043c: \u0438\u0437 \u0441\u0442\u0430\u0442\u044c\u0438 \u0432\u044b \u0443\u0437\u043d\u0430\u0435\u0442\u0435, \u043a\u0430\u043a \u0431\u0435\u0437\u0431\u043e\u043b\u0435\u0437\u043d\u0435\u043d\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c White Label android-\u043f\u0440\u043e\u0435\u043a\u0442.<\/em><\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/7a4\/365\/8ef\/7a43658efe399532bcf68f4e25d786fb.png\" width=\"1920\" height=\"1080\"><figcaption><\/figcaption><\/figure>\n<p>Greetings and salutations! \u041f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u044f \u043e\u0434\u043d\u0430\u0436\u0434\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043a\u0440\u0443\u0442\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 White Label android-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0418\u0437\u0443\u0447\u0438\u043b \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f \u043a\u043e\u043b\u043b\u0435\u0433 \u0432 \u044d\u0442\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0438 \u043d\u0430\u0448\u0451\u043b \u0442\u043e\u043b\u044c\u043a\u043e:<\/p>\n<ul>\n<li>\n<p>\u0432\u0445\u043e\u0434\u043d\u044b\u0435 \u0433\u0430\u0439\u0434\u044b (<a href=\"https:\/\/proandroiddev.com\/android-flavours-white-labeling-an-app-46a17b8b27a4\" rel=\"noopener noreferrer nofollow\">\u0440\u0430\u0437<\/a>, <a href=\"https:\/\/willowtreeapps.com\/ideas\/building-scalable-white-label-android-apps\" rel=\"noopener noreferrer nofollow\">\u0434\u0432\u0430<\/a>, <a href=\"https:\/\/willowtreeapps.com\/ideas\/building-scalable-white-label-android-apps\" rel=\"noopener noreferrer nofollow\">\u0442\u0440\u0438<\/a>, etc) \u043e \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430\u0445, \u043d\u043e \u0431\u0435\u0437 \u043f\u0440\u043e\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0434\u0438\u0437\u0430\u0439\u043d\u0430;<\/p>\n<\/li>\n<li>\n<p>\u0441\u0442\u0430\u0442\u044c\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u044b \u0443\u0437\u043a\u0438\u0435 \u0430\u0441\u043f\u0435\u043a\u0442\u044b \u0437\u0430\u0434\u0430\u0447\u0438 (<a href=\"https:\/\/habr.com\/ru\/company\/rambler_group\/blog\/519744\/\" rel=\"noopener noreferrer nofollow\">\u0440\u0430\u0437<\/a>, <a href=\"https:\/\/habr.com\/ru\/post\/434994\/\" rel=\"noopener noreferrer nofollow\">\u0434\u0432\u0430<\/a>, etc).<\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u0442\u0435\u043c\u0435 \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0446\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0433\u0430\u0439\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0432\u0435\u0434\u0451\u0442 \u043e\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0435\u0439 \u043a \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f\u043c, \u043e\u0442 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439 \u043a \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435 \u0438 \u0432\u043e\u043e\u0440\u0443\u0436\u0438\u0442 best practices. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0440\u0435\u0448\u0438\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0433\u043e \u0441\u0430\u043c.<\/p>\n<h2>1 \u0421\u0442\u0430\u0432\u0438\u043c \u0437\u0430\u0434\u0430\u0447\u0443<\/h2>\n<p>\u0418 \u043c\u0430\u043b\u044b\u0439, \u0438 \u0441\u0440\u0435\u0434\u043d\u0438\u0439 \u0431\u0438\u0437\u043d\u0435\u0441 \u043d\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044f \u0432 \u0434\u0435\u0448\u0451\u0432\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 \u0434\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c \u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u0438: \u043a\u0440\u0443\u043f\u043d\u044b\u0435 \u0440\u0435\u0442\u0435\u0439\u043b\u0435\u0440\u044b \u0443\u0436\u0435 \u043e\u0431\u0437\u0430\u0432\u0435\u043b\u0438\u0441\u044c \u0442\u0430\u043a\u0438\u043c\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430\u043c\u0438 \u0438 \u043f\u0440\u0438\u0443\u0447\u0438\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043a \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c.<\/p>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u0440\u043e\u0441\u0442\u043e (\u043f\u043e\u043a\u0443\u043f\u0430\u0442\u0435\u043b\u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u043a\u0430\u0441\u0441\u0435 \u0432\u043c\u0435\u0441\u0442\u043e \u043f\u043b\u0430\u0441\u0442\u0438\u043a\u043e\u0432\u043e\u0439 \u043a\u0430\u0440\u0442\u044b \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u0441\u043a\u0438\u0434\u043a\u0438 \u0438 \u0431\u043e\u043d\u0443\u0441\u044b), \u0430 \u0434\u043b\u044f \u0435\u0451 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0443\u0436\u043d\u044b \u0442\u0438\u043f\u043e\u0432\u044b\u0435 \u0444\u0438\u0447\u0438: \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f, \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u0438\u0441\u043a\u043e\u043d\u0442\u043d\u0430\u044f \u043a\u0430\u0440\u0442\u0430 \u0438 \u043f\u0440\u043e\u0447\u0438\u0435.<\/p>\n<p>\u0411\u044e\u0434\u0436\u0435\u0442 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d&#8230; \u0444\u0438\u0447\u0438 \u0442\u0438\u043f\u043e\u0432\u044b\u0435&#8230; \u0434\u0430 \u0437\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0435\u0442 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439! \u0418\u043b\u0438 White Label \u043f\u0440\u043e\u0434\u0443\u043a\u0442? \u041f\u043e\u043a\u0430 \u043e\u0442\u043b\u043e\u0436\u0438\u043c \u0442\u0435\u0440\u043c\u0438\u043d\u044b \u0438 \u043e\u043f\u0438\u0448\u0435\u043c \u0437\u0430\u0434\u0430\u0447\u0443: \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u043a\u043e\u0434\u043e\u0432\u043e\u0439 \u0431\u0430\u0437\u044b, \u043a\u0430\u0436\u0434\u043e\u0435 \u2013 \u0441 \u0434\u0438\u0437\u0430\u0439\u043d\u043e\u043c \u043f\u043e\u0434 \u0431\u0440\u0435\u043d\u0434 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0443\u0436\u043d\u044b\u043c\u0438 \u0435\u043c\u0443 \u0444\u0438\u0447\u0430\u043c\u0438.<\/p>\n<blockquote>\n<p>\u0417\u0430\u0434\u0430\u0447\u0430: \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0438\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u043a\u043e\u0434\u043e\u0432\u043e\u0439 \u0431\u0430\u0437\u044b<\/p>\n<\/blockquote>\n<h3>1.1 \u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435<\/h3>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u044d\u043a\u0440\u0430\u043d\u0430 \u0434\u0438\u0441\u043a\u043e\u043d\u0442\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u044b. \u0412 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0435 \u043a\u0430\u0440\u0442\u0443 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0432\u0443\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438: \u0447\u0442\u043e\u0431\u044b \u0443\u0437\u043d\u0430\u0442\u044c \u0431\u0430\u043b\u0430\u043d\u0441 \u0438 \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u043e\u0442 \u0438\u043b\u0438 \u0438\u043d\u043e\u0439 \u0431\u043e\u043d\u0443\u0441.<\/p>\n<p>\u0423 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0431\u0440\u0435\u043d\u0434\u0430 \u0441\u0432\u043e\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432 SEPHORA \u043d\u0430\u043a\u0430\u043f\u043b\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0431\u043e\u043d\u0443\u0441\u043d\u044b\u0435 \u0431\u0430\u043b\u043b\u044b \u0438 \u043f\u0440\u043e\u0446\u0435\u043d\u0442 \u0441\u043a\u0438\u0434\u043a\u0438, \u0430 \u0432 \u00ab\u041f\u044f\u0442\u0451\u0440\u043e\u0447\u043a\u0435\u00bb \u0442\u043e\u043b\u044c\u043a\u043e \u0431\u0430\u043b\u043b\u044b. \u0412 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f30\/b3d\/0c1\/f30b3d0c1ab22e3901ed2b2a6d214d85.png\" width=\"1200\" height=\"800\"><figcaption><\/figcaption><\/figure>\n<p>\u041c\u044b \u0445\u043e\u0442\u0438\u043c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043e\u0431\u0449\u0438\u043c. \u041f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0432\u0430\u0440\u0438\u0430\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c, \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0439 \u0432\u0438\u0434 \u044d\u043a\u0440\u0430\u043d\u0430 \u043a\u0430\u0440\u0442\u044b \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/3c3\/1d3\/6fe\/3c31d36fefb7536c23a5e02b656eb463.png\" width=\"1200\" height=\"800\"><figcaption><\/figcaption><\/figure>\n<p>\u041a\u0430\u043a \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0431\u0435\u0437 \u0431\u043e\u043b\u0438? \u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u0441\u0442\u0430\u0442\u044c\u044e \u0438 \u043d\u0430\u0439\u0434\u0451\u0442\u0435 \u043e\u0442\u0432\u0435\u0442.<\/p>\n<h3>1.2 \u0414\u0435\u0442\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f<\/h3>\n<p>\u0420\u0430\u0437\u043b\u043e\u0436\u0438\u043c \u0432\u0438\u0434\u0435\u043d\u0438\u0435 \u043f\u043e \u043f\u043e\u043b\u043e\u0447\u043a\u0430\u043c: \u043a\u0430\u043a \u0432 \u0422\u0417, \u043d\u043e \u043f\u0440\u043e\u0449\u0435.<\/p>\n<h4>\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f<\/h4>\n<ol>\n<li>\n<p>\u0420\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0449\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0444\u0438\u0447\u0435\u0439:<\/p>\n<ul>\n<li>\n<p><strong>\u043d\u043e\u0432\u043e\u0441\u0442\u0438<\/strong> \u2013 \u043a\u043b\u0438\u0435\u043d\u0442 \u0443\u0437\u043d\u0430\u0451\u0442 \u043e\u0431 \u0430\u043a\u0446\u0438\u044f\u0445 \u0438 \u0436\u0438\u0437\u043d\u0438 \u0441\u0435\u0442\u0438 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u043e\u0432;<\/p>\n<\/li>\n<li>\n<p><strong>\u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/strong> \u2013 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0434\u0438\u0441\u043a\u043e\u043d\u0442\u043d\u0443\u044e \u043a\u0430\u0440\u0442\u0443, \u0443\u0437\u043d\u0430\u0451\u0442 \u0431\u0430\u043b\u0430\u043d\u0441, \u043f\u0440\u043e\u0431\u0438\u0432\u0430\u0435\u0442 \u043d\u0430 \u043a\u0430\u0441\u0441\u0435;<\/p>\n<\/li>\n<li>\n<p>&#8230;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u0417\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f:<\/p>\n<ul>\n<li>\n<p><strong>\u043d\u0430\u0431\u043e\u0440\u044b \u0444\u0438\u0447\u0435\u0439<\/strong>, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u0441\u0430\u043c\u0438 \u043c\u043e\u0434\u0443\u043b\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b;<\/p>\n<\/li>\n<li>\n<p><strong>\u0431\u0440\u0435\u043d\u0434<\/strong>, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0446\u0432\u0435\u0442\u0430 \u0438 \u043c\u0435\u043d\u044f\u0442\u044c \u0440\u0435\u0441\u0443\u0440\u0441\u044b: \u0448\u0440\u0438\u0444\u0442\u044b, \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438, \u0437\u0430\u0448\u0438\u0442\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043d\u0442.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h4>\u041d\u0435\u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435<\/h4>\n<ul>\n<li>\n<p>\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043e\u0431\u0449\u0438\u0439 \u043a\u043e\u0434;<\/p>\n<\/li>\n<li>\n<p>\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u2013 \u043c\u0435\u043d\u044c\u0448\u0435 \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0447\u0430\u0441\u043e\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430;<\/p>\n<\/li>\n<li>\n<p>\u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0443\u043f\u0440\u043e\u0449\u0430\u0442\u044c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u043e\u0442 10 \u0434\u043e 100 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.<\/p>\n<\/li>\n<\/ul>\n<h3>1.3 \u0427\u0442\u043e \u043f\u0438\u043b\u0438\u043c \u0442\u043e? \u041a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440? White Label?<\/h3>\n<p>\u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u044f\u0441\u043d\u044b \u2013 \u0440\u0430\u0437\u0431\u0435\u0440\u0451\u043c\u0441\u044f \u0441 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043c\u0438. \u041d\u0430 \u0441\u0442\u0430\u0440\u0442\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u044f \u0434\u0443\u043c\u0430\u043b, \u0447\u0442\u043e \u043c\u044b \u0434\u0435\u043b\u0430\u0435\u043c \u00ab\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439\u00bb. \u0418\u0441\u043a\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 \u0441 \u043e\u043f\u044b\u0442\u043e\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f, \u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u043b \u0440\u0435\u043a\u043b\u0430\u043c\u0443 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432. \u041f\u043e\u0442\u0440\u0430\u0442\u0438\u043b \u043f\u0430\u0440\u0443 \u0447\u0430\u0441\u043e\u0432 \u043d\u0430 \u0433\u0443\u0433\u043b \u0438 \u0441 \u0440\u0430\u0434\u043e\u0441\u0442\u044c\u044e \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u043b\u044e \u0432\u0440\u0435\u043c\u044f \u0432\u0430\u043c:<\/p>\n<ol>\n<li>\n<p>\u0427\u0442\u043e \u0434\u0430\u0451\u0442 <a href=\"https:\/\/apptractor.ru\/develop\/app-constructors\" rel=\"noopener noreferrer nofollow\">\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\/\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430<\/a>:<\/p>\n<ul>\n<li>\n<p><strong>\u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0439<\/strong> \u0441\u0435\u0440\u0432\u0438\u0441 \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0438\u0437 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432;<\/p>\n<\/li>\n<li>\n<p>\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"https:\/\/www.appgyver.com\/\" rel=\"noopener noreferrer nofollow\">AppGyver<\/a> \u2013 drag\u2019n\u2019drop \u0432\u0451\u0440\u0441\u0442\u043a\u0430, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0445 \u0444\u0438\u0447\u0430\u0445 (\u043e\u0442\u043a\u0440\u044b\u0442\u044c \u044d\u043a\u0440\u0430\u043d, \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0444\u043e\u0442\u043e);<\/p>\n<\/li>\n<li>\n<p>\u0442\u0432\u043e\u0440\u0438\u043c \u0447\u0442\u043e \u0443\u0433\u043e\u0434\u043d\u043e \u2013 \u043e\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043f\u043e \u043f\u043e\u043a\u0443\u043f\u043a\u0435 \u0437\u043e\u043b\u043e\u0442\u0430 \u0434\u043e \u043f\u0440\u0438\u0451\u043c\u043a\u0438 \u0433\u0440\u0443\u0437\u043e\u0432.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u0427\u0442\u043e \u0434\u0430\u0451\u0442 <a href=\"https:\/\/en.wikipedia.org\/wiki\/White-label_product\" rel=\"noopener noreferrer nofollow\">White Label<\/a>:<\/p>\n<ul>\n<li>\n<p>\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u0434\u043b\u044f <strong>\u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e<\/strong> \u0442\u0438\u043f\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <a href=\"http:\/\/www.taxiongo.com\/\" rel=\"noopener noreferrer nofollow\">\u0434\u043b\u044f \u0442\u0430\u043a\u0441\u0438<\/a>;<\/p>\n<\/li>\n<li>\n<p>\u0440\u0435\u0431\u0440\u0435\u043d\u0434\u0438\u043d\u0433 \u043f\u043e\u0434 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0432\u044b\u0441\u043e\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0445 \u0444\u0438\u0447 (\u043d\u043e\u0432\u043e\u0441\u0442\u0438, \u043f\u0440\u043e\u0444\u0438\u043b\u044c)<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>\u041d\u0430\u0448 \u0444\u043e\u043a\u0443\u0441 \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u0417\u043d\u0430\u0447\u0438\u0442, \u0434\u0435\u043b\u0430\u0435\u043c <strong>White Label<\/strong>. \u0413\u0443\u0433\u043b\u0438\u043c \u00abwhite label android development\u00bb \u0438 \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u0442\u043e, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e.<\/p>\n<h2>2 \u041f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u0438 \u0432\u043e\u043f\u043b\u043e\u0449\u0430\u0435\u043c<\/h2>\n<h3>\u0421\u0442\u0440\u043e\u0438\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0443\u044e \u0441\u0445\u0435\u043c\u0443 White Label \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/h3>\n<p>\u0414\u043b\u044f \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u00ab\u043f\u043e\u043d\u044f\u0442\u043d\u0443\u044e\u00bb \u0438 \u00ab\u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u043c\u0443\u044e\u00bb \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 (\u0440\u0430\u0441\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0442\u0435\u0440\u043c\u0438\u043d\u044b \u043d\u0435 \u0431\u0443\u0434\u0443, \u0437\u0434\u0435\u0441\u044c \u0445\u0432\u0430\u0442\u0438\u0442 \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f). \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0437\u0430\u0433\u043b\u044f\u043d\u0435\u043c \u0432\u0433\u043b\u0443\u0431\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0432\u044b\u0434\u0435\u043b\u0438\u043c \u043f\u043e\u0434\u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u043e \u0441\u043b\u043e\u044f\u043c Clean Architecture\u2026<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/e3e\/a1d\/00e\/e3ea1d00e96a37ba4690baa6f85af8b9\" width=\"841\" height=\"301\"><figcaption><\/figcaption><\/figure>\n<p>\u2026 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0447\u0435\u0442\u044b\u0440\u0435 \u0436\u0438\u0440\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b:<\/p>\n<ol>\n<li>\n<p>\u041a\u0430\u043a \u0448\u0430\u0440\u0438\u0442\u044c \u043a\u043e\u0434\u043e\u0432\u0443\u044e \u0431\u0430\u0437\u0443 \u043c\u0435\u0436\u0434\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438?<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0440\u0435\u0431\u0440\u0435\u043d\u0434\u0438\u043d\u0433?<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0438?<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435?<\/p>\n<\/li>\n<\/ol>\n<p>\u0412 \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u044c!<\/p>\n<h3>2.1 \u0428\u0430\u0440\u0438\u043c \u043a\u043e\u0434<\/h3>\n<blockquote>\n<p>\u0417\u0430\u0434\u0430\u0447\u0430 \u2013 \u043e\u0434\u043d\u0430 \u043a\u043e\u0434\u043e\u0432\u0430\u044f \u0431\u0430\u0437\u0430, \u0434\u043e 100 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u2013 Gradle Product Flavors.<\/p>\n<\/blockquote>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0435\u0449\u0451 \u043d\u0435 \u0437\u043d\u0430\u043a\u043e\u043c\u044b \u0441 Gradle Product Flavors, \u0441\u043e\u0432\u0435\u0442\u0443\u044e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"https:\/\/developer.android.com\/studio\/build\/build-variants#product-flavors\" rel=\"noopener noreferrer nofollow\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/levelup.gitconnected.com\/simple-guide-to-android-product-flavors-674106455038\" rel=\"noopener noreferrer nofollow\">\u043e\u0431\u0449\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438<\/a>. \u0410 \u043c\u043e\u0436\u043d\u043e \u0438 \u0441\u0440\u0430\u0437\u0443 \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 White Label: <a href=\"https:\/\/proandroiddev.com\/android-flavours-white-labeling-an-app-46a17b8b27a4\" rel=\"noopener noreferrer nofollow\">\u043a\u0440\u0430\u0442\u043a\u043e<\/a> \u0438\u043b\u0438 \u0432 <a href=\"https:\/\/www.raywenderlich.com\/5175277-white-labeling-android-apps-getting-started#toc-anchor-001\" rel=\"noopener noreferrer nofollow\">\u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438<\/a><\/p>\n<p>\u0412 \u0434\u0432\u0443\u0445 \u0441\u043b\u043e\u0432\u0430\u0445, \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u00ab\u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b\u00bb \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041a\u0430\u0436\u0434\u044b\u0439 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043f\u0430\u043f\u043a\u0438 \u0441 \u043a\u043e\u0434\u043e\u043c \u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044f \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043e\u0431\u0449\u0438\u043c \u0438\u0437 <code>main<\/code>.<\/p>\n<p><strong>\u0413\u043b\u0430\u0432\u043d\u043e\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e<\/strong>. \u041e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0430 \u043f\u0435\u0440\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432, \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0441\u0431\u043e\u0440\u043a\u0438.<\/p>\n<p><strong>\u0413\u043b\u0430\u0432\u043d\u044b\u0439 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u043a<\/strong>. \u0415\u0441\u043b\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0431\u043e\u043b\u044c\u0448\u0435 100, \u0442\u043e \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0430\u0445 \u0431\u0443\u0434\u0435\u0442 \u0442\u044f\u0436\u0435\u043b\u043e \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f. \u041d\u043e \u0443 \u043d\u0430\u0441 \u043c\u0435\u043d\u044c\u0448\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u043a.<\/p>\n<p>\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b, \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u043d\u0435\u0442 \u0441\u043c\u044b\u0441\u043b\u0430: \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0430\u0434\u0451\u0436\u043d\u043e\u0435, \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438.<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440 flavors<\/strong>. \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u043d\u0430 \u0441\u0442\u0430\u0440\u0442\u0435 \u0434\u0435\u043b\u0430\u0435\u043c \u0434\u0432\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f:<\/p>\n<ol>\n<li>\n<p>\u00ab\u041b\u043e\u044f\u043a\u0430\u00bb \u2014 \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u0430\u044f \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f;<\/p>\n<\/li>\n<li>\n<p>\u00ab\u042e\u0432\u0435\u043b\u0438\u0440\u0438\u044f\u00bb \u2014 \u0441\u0435\u0442\u044c \u044e\u0432\u0435\u043b\u0438\u0440\u043d\u044b\u0445 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u043e\u0432.<\/p>\n<\/li>\n<\/ol>\n<p>\u041d\u0430\u0437\u043e\u0432\u0451\u043c flavors \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u2014 <code>loyaka<\/code> \u0438 <code>jewelry<\/code>. \u0421\u0440\u0430\u0437\u0443 \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c best practice \u2014 \u043a\u043e\u043d\u0444\u0438\u0433 \u043a\u0430\u0436\u0434\u043e\u0433\u043e flavor \u0432\u044b\u043d\u0435\u0441\u0435\u043c \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u0430\u0439\u043b\u0438\u043a. \u0417\u0430\u0447\u0435\u043c? \u0421\u0442\u0430\u043d\u0435\u0442 \u044f\u0441\u043d\u043e \u0447\u0443\u0442\u044c \u043f\u043e\u0437\u0436\u0435.<\/p>\n<p>\u041f\u043e\u043a\u0430 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c:<\/p>\n<ol>\n<li>\n<p>\u043f\u0430\u043f\u043a\u0443 <code>project_flavors<\/code>;<\/p>\n<\/li>\n<li>\n<p>\u0432 \u043d\u0435\u0439 \u2014 gradle-\u0441\u043a\u0440\u0438\u043f\u0442\u044b <code>flavor_loyaka.gradle<\/code>, <code>flavor_jewelry.gradle<\/code> \u0438 <code>flavors_common.gradle<\/code>;<\/p>\n<\/li>\n<li>\n<p>\u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0432 <code>build.gradle<\/code> \u0443\u0440\u043e\u0432\u043d\u044f <code>app<\/code>.<\/p>\n<\/li>\n<\/ol>\n<p>\u0417\u0434\u0435\u0441\u044c \u0438 \u0434\u0430\u043b\u0435\u0435 \u043f\u0440\u0438\u0432\u043e\u0436\u0443 \u0441\u043e\u043a\u0440\u0430\u0449\u0451\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0437 <a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\" rel=\"noopener noreferrer nofollow\">\u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043a \u0441\u0442\u0430\u0442\u044c\u0435<\/a>.<\/p>\n<p><a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/project_flavors\/flavor_loyaka.gradle\" rel=\"noopener noreferrer nofollow\"><strong>flavor_<em>loyaka.gradle<\/em><\/strong><\/a><\/p>\n<pre><code>apply from: \"$rootDir\/project_flavors\/flavors_common.gradle\"   android {     productFlavors {          loyaka {             dimension APP_DIMENSION              resValue \"string\", APP_NAME_VAR, '\u041b\u043e\u044f\u043a\u0430'             applicationId BASE_PACKAGE + 'loyaka'         }     } }<\/code><\/pre>\n<p><a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/project_flavors\/flavor_jewelry.gradle\" rel=\"noopener noreferrer nofollow\"><strong><em>flavor_<\/em>jewelry.gradle<\/strong><\/a><\/p>\n<pre><code>apply from: \"$rootDir\/project_flavors\/flavors_common.gradle\"   android {     productFlavors {          jewerly {             dimension APP_DIMENSION              resValue \"string\", APP_NAME_VAR, '\u042e\u0432\u0435\u043b\u0438\u0440\u0438\u044f'             applicationId BASE_PACKAGE + 'jewelry'         }     } }<\/code><\/pre>\n<p><a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/project_flavors\/flavors_common.gradle\" rel=\"noopener noreferrer nofollow\"><strong>flavors_common.gradle<\/strong><\/a><\/p>\n<pre><code>android {     ext.DIMENSION_APP = \"app\"     ext.APP_NAME_VAR = \"app_name\"     ext.BASE_PACKAGE = \"com.livetyping.\" }<\/code><\/pre>\n<p>\u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u043c flavors \u2014 \u0432 <a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/app\/build.gradle\" rel=\"noopener noreferrer nofollow\"><strong>build.gradle<\/strong><\/a> \u0443\u0440\u043e\u0432\u043d\u044f <code>app<\/code>:<\/p>\n<pre><code>... apply from: \"$rootDir\/project_flavors\/flavor_loyaka.gradle\" apply from: \"$rootDir\/project_flavors\/flavor_jewelry.gradle\" apply from: \"$rootDir\/project_flavors\/flavors_common.gradle\"  android {     ...     flavorDimensions APP_DIMENSION } ...<\/code><\/pre>\n<h3>2.2 \u041f\u0435\u0440\u0435\u043a\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c<\/h3>\n<h4>2.2.1 \u041a\u043e\u043d\u0446\u0435\u043f\u0442<\/h4>\n<p>\u0423 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441\u0432\u043e\u0439 \u0431\u0440\u0435\u043d\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u0437:<\/p>\n<ul>\n<li>\n<p>\u0446\u0432\u0435\u0442\u043e\u0432\u043e\u0439 \u0441\u0445\u0435\u043c\u044b;<\/p>\n<\/li>\n<li>\n<p>\u0448\u0440\u0438\u0444\u0442\u043e\u0432, \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a, \u0441\u0442\u0440\u043e\u043a;<\/p>\n<\/li>\n<li>\n<p>\u0437\u0430\u0448\u0438\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 (\u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0439, \u0441\u0441\u044b\u043b\u043e\u043a \u0432 \u0441\u043e\u0446. \u0441\u0435\u0442\u0438).<\/p>\n<\/li>\n<\/ul>\n<p>\u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f flavors \u0442\u043e\u0436\u0435 \u0440\u0435\u0448\u0438\u043c \u0437\u0430\u0434\u0430\u0447\u0443 \u043f\u0440\u043e\u0441\u0442\u043e. \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u043c \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 3 \u0444\u0430\u043a\u0442\u0430:<\/p>\n<ol>\n<li>\n<p>\u043e\u0431\u0449\u0438\u0435 \u043a\u043e\u0434 \u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043b\u0435\u0436\u0430\u0442 \u0432 \u043f\u0430\u043f\u043a\u0435 <code>main<\/code>;<\/p>\n<\/li>\n<li>\n<p>\u0434\u043b\u044f gradle <code>main<\/code> \u044d\u0442\u043e \u043a\u0430\u043a \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 flavor;<\/p>\n<\/li>\n<li>\n<p>\u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e flavor \u0441\u0432\u043e\u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0431\u0449\u0438\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043b\u0435\u0436\u0430\u0442 \u0432 <code>main\/res<\/code>, \u0430 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0435 \u0434\u043b\u044f \u0444\u043b\u044d\u0439\u0432\u043e\u0440\u0430 <code>loyaka<\/code> \u0432 <code>loyaka\/res<\/code>;<\/p>\n<\/li>\n<\/ol>\n<p>\u0427\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0434\u0451\u0442, \u0435\u0441\u043b\u0438 \u0432 <code>main\/res<\/code> \u0438 <code>loyaka\/res<\/code> \u0431\u0443\u0434\u0443\u0442 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0441 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c <code>animal.webp<\/code>? \u0412\u043e\u0437\u043d\u0438\u043a\u043d\u0435\u0442 \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442, \u0438 \u0447\u0442\u043e\u0431\u044b \u0440\u0435\u0448\u0438\u0442\u044c \u0435\u0433\u043e, Gradle <strong>\u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442<\/strong> \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u043c\u0438. \u0415\u0441\u043b\u0438 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/736\/0fd\/89a\/7360fd89ad4d33f7e4c1918c964e0f85\" alt=\"\u0421\u043b\u0435\u0432\u0430 \u2014 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043f\u043e flavor; \u0441\u043f\u0440\u0430\u0432\u0430 \u2014 \u0438\u0442\u043e\u0433\u043e\u0432\u044b\u0439 APK.\" title=\"\u0421\u043b\u0435\u0432\u0430 \u2014 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043f\u043e flavor; \u0441\u043f\u0440\u0430\u0432\u0430 \u2014 \u0438\u0442\u043e\u0433\u043e\u0432\u044b\u0439 APK.\" width=\"1010\" height=\"581\"><figcaption>\u0421\u043b\u0435\u0432\u0430 \u2014 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043f\u043e flavor; \u0441\u043f\u0440\u0430\u0432\u0430 \u2014 \u0438\u0442\u043e\u0433\u043e\u0432\u044b\u0439 APK.<\/figcaption><\/figure>\n<p>\u0417\u0430\u0434\u0430\u0447\u0430 \u0440\u0435\u0448\u0435\u043d\u0430! \u0423\u0431\u0435\u0440\u0451\u043c \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0432 <code>main<\/code>, \u0430 \u0432 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 flavor \u0431\u0443\u0434\u0435\u043c \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u043f\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438.<\/p>\n<h4>2.2.2 Best practices<\/h4>\n<p>\u041a\u0440\u0430\u0439\u043d\u0435 \u0432\u0430\u0436\u043d\u043e <strong>\u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c\u0441\u044f \u0441 \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440\u0430\u043c\u0438<\/strong>:<\/p>\n<ul>\n<li>\n<p>\u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e \u2014 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0440\u044f\u043c\u0438\u043a\u043e\u043c \u0438\u0437 \u0434\u0438\u0437\u0430\u0439\u043d\u0430;<\/p>\n<\/li>\n<li>\n<p>\u0442\u0435\u043c\u0443 \u0437\u0430\u0434\u0430\u0451\u043c \u0447\u0451\u0442\u043a\u0438\u043c \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u0446\u0432\u0435\u0442\u043e\u0432 \u2014 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043a\u0440\u0430\u0448\u0438\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c <code>colors.xml<\/code> \u0432 \u043d\u043e\u0432\u044b\u0439 flavor \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u0435\u043d\u044f\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f.<\/p>\n<\/li>\n<\/ul>\n<p>\u0418, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0441\u043e\u0431\u043b\u044e\u0434\u0430\u0435\u043c \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0451\u043d\u043d\u043e\u0441\u0442\u0438, \u0432\u0435\u0434\u044c \u0432\u043f\u0435\u0440\u0435\u0434\u0438 \u0436\u0434\u0443\u0442 \u0438\u0441\u043f\u044b\u0442\u0430\u043d\u0438\u044f. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u044b \u0441\u0440\u0430\u0437\u0443 \u0440\u0435\u0448\u0438\u043b\u0438, \u0447\u0442\u043e \u0437\u0430\u0434\u0430\u0451\u043c \u0441\u0442\u0440\u043e\u0433\u0438\u0439 \u043d\u0430\u0431\u043e\u0440 \u0446\u0432\u0435\u0442\u043e\u0432. \u041e\u0434\u043d\u0430\u043a\u043e \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0446\u0432\u0435\u0442\u0430 \u043d\u0435 \u0441\u043e\u0448\u043b\u0438\u0441\u044c \u2014 \u0447\u0430\u0441\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0446\u0432\u0435\u0442\u0430 <code>primary<\/code> \u0432 \u043d\u043e\u0432\u043e\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u0435 \u0441\u0442\u0430\u043b\u0438 <code>accent<\/code>. \u0421\u0440\u0430\u0437\u0443 \u043e\u0431\u0441\u0443\u0434\u0438\u043b\u0438 \u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438 \u0434\u0438\u0437\u0430\u0439\u043d, \u0430 \u0432\u0435\u0434\u044c \u043c\u043e\u0433\u043b\u0438 \u0431\u044b \u0438 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u0441\u0442\u044b\u043b\u044c.<\/p>\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e <strong>\u043a\u043e\u0441\u0442\u044b\u043b\u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043d\u0430 100 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439!<\/strong> \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435, \u0447\u0442\u043e \u0434\u0438\u0437\u0430\u0439\u043d \u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438, \u0430 \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0432\u0432\u0435\u043b\u0438 \u043d\u043e\u0432\u044b\u0439 \u0446\u0432\u0435\u0442 \u0432 \u043e\u0431\u0449\u0435\u0439 \u0442\u0435\u043c\u0435. \u041f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043d\u043e\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0430 \u0442\u0430\u043c \u043e\u043f\u044f\u0442\u044c \u043d\u0435\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435: \u0432\u0432\u043e\u0434\u0438\u043c \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0446\u0432\u0435\u0442, \u0438\u0442\u043e\u0433 \u2014 \u0442\u0435\u043c\u0430 \u043d\u0430 \u0441\u043e\u0442\u043d\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0438 \u043f\u0440\u043e\u0435\u043a\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u044f\u0436\u0435\u043b\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c.<\/p>\n<blockquote>\n<p>\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u0447\u0451\u0442\u043a\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0434\u0435\u0448\u0435\u0432\u043b\u0435, \u0447\u0435\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0442\u044c \u043a\u043e\u0434, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u0438\u0437 \u00ab\u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445\u00bb \u043a\u043e\u0441\u044f\u043a\u043e\u0432.<\/p>\n<\/blockquote>\n<h4>2.2.3 \u041f\u0440\u0438\u043c\u0435\u0440 \u0441\u0445\u0435\u043c\u044b \u0446\u0432\u0435\u0442\u043e\u0432<\/h4>\n<p>\u0417\u0430\u0434\u0430\u0451\u043c \u0446\u0432\u0435\u0442\u0430 \u0431\u0440\u0435\u043d\u0434\u0430 \u0432 \u0444\u0430\u0439\u043b\u0435 <code>project_styleguide.xml<\/code>:<\/p>\n<ul>\n<li>\n<p>\u0434\u043b\u044f \u00ab\u041b\u043e\u044f\u043a\u0438\u00bb \u2014 <a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/app\/src\/loyaka\/res\/values\/project_styleguide.xml\" rel=\"noopener noreferrer nofollow\"><strong>loyaka\/res\/values\/project_<em>styleguide.xml<\/em><\/strong><\/a><em>:<\/em><\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"xml\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt; &lt;resources&gt;     &lt;color name=\"active\"&gt;#68b881&lt;\/color&gt;     &lt;color name=\"background\"&gt;#36363f&lt;\/color&gt;     &lt;color name=\"disabled\"&gt;#daede0&lt;\/color&gt;     &lt;color name=\"field_dark\"&gt;#f5f5f5&lt;\/color&gt;     ... &lt;\/resources<\/code><\/pre>\n<ul>\n<li>\n<p>\u0434\u043b\u044f \u00ab\u042e\u0432\u0435\u043b\u0438\u0440\u0438\u0438\u00bb \u2014 <a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/app\/src\/jewelry\/res\/values\/project_styleguide.xml\" rel=\"noopener noreferrer nofollow\"><strong>jewelry\/res\/values\/project_styleguide.xml<\/strong><\/a>:<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"xml\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt; &lt;resources&gt;     &lt;color name=\"active\"&gt;#a160d5&lt;\/color&gt;     &lt;color name=\"background\"&gt;#f6ebff&lt;\/color&gt;     &lt;color name=\"disabled\"&gt;#e2c8f6&lt;\/color&gt;     &lt;color name=\"field_dark\"&gt;#f5f5f5&lt;\/color&gt;     ... &lt;\/resources&gt;<\/code><\/pre>\n<h3>2.3 \u0417\u0430\u0434\u0430\u0451\u043c \u043a\u043e\u043d\u0444\u0438\u0433<\/h3>\n<h4>2.3.1 \u041a\u043e\u043d\u0446\u0435\u043f\u0442<\/h4>\n<p>\u0424\u0438\u0447\u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043d\u0430 \u0434\u0432\u0443\u0445 \u0443\u0440\u043e\u0432\u043d\u044f\u0445:<\/p>\n<ol>\n<li>\n<p>\u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438;<\/p>\n<\/li>\n<li>\n<p>\u043c\u0435\u043d\u044f\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u0430\u043c\u0438\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439.<\/p>\n<\/li>\n<\/ol>\n<p>\u041d\u0430\u0447\u043d\u0451\u043c \u0441 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0432 \u0442\u0438\u043f\u043e\u0432\u043e\u0439 \u0444\u043e\u0440\u043c\u0435 \u0438 \u043f\u043e\u0448\u0430\u0440\u0438\u043c \u043d\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0443. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0430: \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0441 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043f\u0440\u0438\u0441\u044b\u043b\u0430\u0435\u0442 \u0444\u043e\u0440\u043c\u0443. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443 \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u043c\u0435\u0445\u0430\u043d\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u0435\u0451 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433.<\/p>\n<p>\u0423\u043f\u0440\u043e\u0449\u0451\u043d\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043e\u043a\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442 \u00ab\u043c\u043e\u0434\u0443\u043b\u044c-\u0444\u0438\u0447\u0430-\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b\u00bb:<\/p>\n<ol>\n<li>\n<p><strong>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438<\/strong>: <\/p>\n<ul>\n<li>\n<p>\u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u044c;<\/p>\n<\/li>\n<li>\n<p>\u043d\u043e\u0432\u043e\u0441\u0442\u0438;<\/p>\n<\/li>\n<li>\n<p>\u2026<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u0410\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f<\/strong>: <\/p>\n<ul>\n<li>\n<p>\u043b\u043e\u0433\u0438\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f: \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0438\u043b\u0438 email;<\/p>\n<\/li>\n<li>\n<p>\u043c\u0430\u0441\u043a\u0430 \u043b\u043e\u0433\u0438\u043d\u0430.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u041a\u0430\u0440\u0442\u0430 \u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u0438<\/strong>: <\/p>\n<ul>\n<li>\n<p>\u0442\u0438\u043f \u0448\u0442\u0440\u0438\u0445-\u043a\u043e\u0434\u0430: EAN-8, EAN-13, CODE-128.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u2026<\/p>\n<\/li>\n<\/ol>\n<h4>2.3.2 \u041f\u0443\u0442\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f<\/h4>\n<p>\u041a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0444\u0438\u0433? \u0421\u0430\u043c\u043e \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0442\u0430\u043a:<\/p>\n<ol>\n<li>\n<p><strong>\u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0440\u0430\u0431\u043e\u0442\u044b<\/strong> \u2013 \u00ab\u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0430\u00bb \u0447\u0442\u0435\u043d\u0438\u044f, \u00ab\u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0430\u00bb \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f (\u0432 \u0438\u0434\u0435\u0430\u043b\u0435, \u0445\u043e\u0442\u0438\u043c DSL);<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438<\/strong> \u2013 \u0432\u0430\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u0447\u0442\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0430 \u043d\u0435 \u0442\u043e\u0440\u043c\u043e\u0437\u0438\u043b\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435.<\/p>\n<\/li>\n<\/ol>\n<p>\u0412\u044b\u0434\u0435\u043b\u0438\u043c \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u0443\u0442\u0438:<\/p>\n<ol>\n<li>\n<p><a href=\"https:\/\/developer.android.com\/studio\/build\/gradle-tips#simplify-app-development\" rel=\"noopener noreferrer nofollow\">Gradle <\/a><code>buildConfigField<\/code> <\/p>\n<ul>\n<li>\n<p>\u0437\u0430\u0434\u0430\u0451\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0432 gradle \u0441\u043a\u0440\u0438\u043f\u0442\u0435;<\/p>\n<\/li>\n<li>\n<p>\u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0433\u0435\u043d\u0435\u0440\u0438\u0442\u0441\u044f java \u043a\u043b\u0430\u0441\u0441 <code>BuildConfig<\/code>, \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u043a\u0430\u043a \u0435\u0433\u043e \u043f\u043e\u043b\u044f.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>JSON <\/p>\n<ul>\n<li>\n<p>json \u043e\u0431\u044a\u0435\u043a\u0442 \u0432 \u0444\u0430\u0439\u043b\u0435;<\/p>\n<\/li>\n<li>\n<p>\u0437\u0430\u0448\u0438\u0442 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e, \u043b\u0438\u0431\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>\u041a\u0440\u0430\u0442\u043a\u043e \u043e\u0446\u0435\u043d\u0438\u043c \u043f\u0443\u0442\u0438 \u043f\u043e \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u044f\u043c.<\/p>\n<h4>2.3.3 \u041f\u0443\u0442\u044c \u21161. Gradle buildConfigField<\/h4>\n<p>\u041f\u043b\u044e\u0441\u044b:<\/p>\n<ul>\n<li>\n<p><strong>\u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f<\/strong> \u2014 \u0434\u0435\u043b\u0430\u0435\u043c DSL \u043d\u0430 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u043a\u0430\u0445: \u0432\u044b\u043d\u043e\u0441\u0438\u043c \u0442\u0438\u043f\u044b \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435; \u0432\u044b\u044f\u0432\u043b\u044f\u0435\u043c \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 \u043d\u0430 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438;<\/p>\n<\/li>\n<li>\n<p><strong>\u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0430<\/strong> \u2014 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0443 \u0443\u0436\u0435 \u0437\u043d\u0430\u043a\u043e\u043c;<\/p>\n<\/li>\n<li>\n<p><strong>\u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c<\/strong> \u2014 \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u043a \u043a\u043b\u0430\u0441\u0441\u0443 <code>BuildConfig<\/code> \u0432 \u043f\u0430\u043c\u044f\u0442\u0438.<\/p>\n<\/li>\n<\/ul>\n<p>\u0413\u043b\u0430\u0432\u043d\u044b\u0439 \u043c\u0438\u043d\u0443\u0441 \u2014 \u043e\u0442\u0432\u0440\u0430\u0442\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0441\u0442\u044c: \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0431\u043b\u043e\u043a\u043e\u0432, \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0438 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430 \u043d\u0435\u0442.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043d\u0430 \u0443\u0441\u043b\u043e\u0432\u043d\u043e\u043c DSL:<\/p>\n<p><code>buildConfigField MAIN_SCREEN_TYPE, MAIN_SCREEN_VAR, MS_SHOPS<\/code><\/p>\n<h4>2.3.4 \u041f\u0443\u0442\u044c \u21162. JSON<\/h4>\n<p>\u041f\u043b\u044e\u0441\u044b:<\/p>\n<ul>\n<li>\n<p><strong>\u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0447\u0442\u0435\u043d\u0438\u044f<\/strong> \u2014 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 HOCON;<\/p>\n<\/li>\n<li>\n<p><strong>\u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f<\/strong> \u2014 \u0434\u0435\u043b\u0430\u0435\u043c DSL \u0447\u0435\u0440\u0435\u0437 <a href=\"https:\/\/json-schema.org\/\" rel=\"noopener noreferrer nofollow\">JSON Schema<\/a>, \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u043e \u043c\u0435\u0440\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f;<\/p>\n<\/li>\n<li>\n<p><strong>\u043f\u0435\u0440\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435<\/strong> \u2014 \u0448\u0430\u0440\u0438\u043c \u043c\u0435\u0436\u0434\u0443 iOS \u0438 Android.<\/p>\n<\/li>\n<\/ul>\n<p>\u041c\u0438\u043d\u0443\u0441\u044b:<\/p>\n<ul>\n<li>\n<p><strong>\u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c<\/strong> \u2014 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0434 \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u043c \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 \u0438\u043b\u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430;<\/p>\n<\/li>\n<li>\n<p><strong>\u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u043e\u0441\u0432\u043e\u0435\u043d\u0438\u0435<\/strong> \u2014 \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u043f\u0435\u0440\u0432\u044b\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u043c JSON Schema \u043d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430 \u043c\u0435\u043d\u0435\u0435 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0430.<\/p>\n<\/li>\n<\/ul>\n<h4>2.3.5 \u0422\u0430\u043a \u0447\u0442\u043e \u0436\u0435 \u043b\u0443\u0447\u0448\u0435?<\/h4>\n<p>\u041a\u043e\u0433\u0434\u0430 \u0434\u0435\u043b\u0430\u043b\u0438 \u043f\u0440\u043e\u0435\u043a\u0442, \u0434\u0430\u0436\u0435 \u043d\u0435 \u0438\u0437\u0443\u0447\u0430\u043b\u0438 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b. \u0421\u0440\u0430\u0437\u0443 \u0441\u0434\u0435\u043b\u0430\u043b\u0438 \u0447\u0435\u0440\u0435\u0437 Gradle. \u041d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, JSON + Schema \u0435\u0433\u043e \u043f\u043e\u0431\u0435\u0436\u0434\u0430\u0435\u0442. \u0423\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0447\u0442\u0435\u043d\u0438\u044f \u2014 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u043d\u0430 \u0442\u043e\u043c \u0436\u0435 \u0443\u0440\u043e\u0432\u043d\u0435, \u0435\u0441\u043b\u0438 \u043d\u0435 \u043b\u0443\u0447\u0448\u0435. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0441\u0435\u043a\u0443\u043d\u0434\u0430 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0444\u0430\u0439\u043b\u0430 \u043d\u0430 \u043e\u0431\u0449\u0435\u043c \u0444\u043e\u043d\u0435 \u043d\u0435\u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u0430.<\/p>\n<blockquote>\n<p>\u0421\u0434\u0435\u043b\u0430\u043b\u0438 \u043a\u043e\u043d\u0444\u0438\u0433 \u0447\u0435\u0440\u0435\u0437 Gradle, \u043d\u0435 \u0438\u0437\u0443\u0447\u0430\u044f \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432. \u041d\u043e \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e JSON Schema \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u2013 \u0438 \u044d\u0442\u043e \u0435\u0451 \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e.<\/p>\n<\/blockquote>\n<h4>2.3.6 Best practices \u0434\u043b\u044f buildConfigField<\/h4>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u043b\u0438 <code>buildConfigField<\/code>, \u0442\u043e \u0432 \u00ab\u0441\u044b\u0440\u043e\u043c\u00bb \u0432\u0438\u0434\u0435 \u0441 \u043d\u0438\u043c \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b:<\/p>\n<ol>\n<li>\n<p>\u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c<code>Enum<\/code>, \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u043a \u043f\u0430\u043a\u0435\u0442\u0443 \u043a\u0430\u043a \u0432 \u0442\u0438\u043f\u0435, \u0442\u0430\u043a \u0438 \u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u0445;<\/p>\n<\/li>\n<li>\n<p>\u043f\u0440\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0438\u043c\u0435\u043d\u0438 \u0438\u043b\u0438 \u0442\u0438\u043f\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0434\u0435\u043b\u0430\u0442\u044c Find &amp; Replace \u043f\u043e \u0432\u0441\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0430\u043c.<\/p>\n<\/li>\n<\/ol>\n<p>\u0420\u0435\u0448\u0435\u043d\u0438\u0435: DSL \u043d\u0430 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u043a\u0430\u0445. \u0417\u0430\u0432\u043e\u0434\u0438\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0434\u043b\u044f \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0445 \u0442\u0438\u043f\u043e\u0432 \u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439. \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 gradle-\u0441\u043a\u0440\u0438\u043f\u0442 \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c. \u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u00ab\u044d\u043a\u0440\u0430\u043d-\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440-\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u00bb. \u0421\u043a\u0440\u0438\u043f\u0442\u044b \u043a\u043b\u0430\u0434\u0451\u043c \u0432 \u043f\u0430\u043f\u043a\u0443 <code>business_rules<\/code>.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440: \u043c\u043e\u0434\u0443\u043b\u044c \u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u0438 <a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/business_rules\/loyalty_business_rules.gradle\" rel=\"noopener noreferrer nofollow\"><strong>loyalty_<em>business_<\/em>rules.gradle<\/strong><\/a>:<\/p>\n<pre><code>\/*_______________ENTER USER ID________________*\/  \/*________User ID________*\/  \/*__Variable__*\/ ext.USER_ID_VAR = \"USER_ID\" ext.USER_ID_TYPE = \"com.example.whitelabelexample.domain.models.UserIdType\"  \/*__Values__*\/ ext.UI_PHONE = USER_ID_TYPE + \".PHONE\" ext.UI_EMAIL = USER_ID_TYPE + \".EMAIL\"  \/*_______________NO CARD________________*\/  \/*________Obtain card methods________*\/  \/*__Variable__*\/ ext.OBTAIN_METHODS_VAR = \"OBTAIN_CARD_METHODS\" ext.OBTAIN_METHODS_ENUM = \"com.example.whitelabelexample.domain.models.ObtainCardMethod\" ext.OBTAIN_METHODS_TYPE = \"java.util.List&lt;\" + OBTAIN_METHODS_ENUM + \"&gt;\"  \/*__Optional values__*\/ ext.OM_GENERATE = OBTAIN_METHODS_ENUM + \".GENERATE_VIRTUAL\" ext.OM_BIND = OBTAIN_METHODS_ENUM + \" .BIND_PHYSICAL\"  ... <\/code><\/pre>\n<p><code>UI_PHONE<\/code> \u2014 \u0447\u0442\u043e \u0437\u0430 <code>UI_<\/code>? \u042d\u0442\u043e \u0441\u043e\u043a\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 <code>UserId<\/code>: \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043f\u0440\u0435\u0444\u0438\u043a\u0441\u044b, \u0447\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043a\u043e\u043b\u043b\u0438\u0437\u0438\u0439.<\/p>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0432 \u0441\u043a\u0440\u0438\u043f\u0442\u0430\u0445 flavor, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430 \u043f\u0435\u0440\u0432\u043e\u043c \u0448\u0430\u0433\u0435 \u0437\u0430\u0431\u043e\u0442\u043b\u0438\u0432\u043e \u0432\u044b\u0442\u0430\u0449\u0438\u043b\u0438 \u043f\u043e \u0444\u0430\u0439\u043b\u0430\u043c.<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440: <a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/project_flavors\/flavor_loyaka.gradle\" rel=\"noopener noreferrer nofollow\"><strong>flavor_<em>loyaka.gradle<\/em><\/strong><\/a><em>:<\/em><\/p>\n<pre><code>...  loyaka {     ...      \/* MAIN SCREEN *\/     buildConfigField MAIN_SCREEN_TYPE, MAIN_SCREEN_VAR, MS_CARD      \/* MODULES *\/     buildConfigField APP_MODULES_TYPE, APP_MODULES_VAR, list(AM_LOYALTY, AM_SHOWCASE)      \/* REGISTRATION *\/     buildConfigField USER_ID_TYPE, USER_ID_VAR, UI_EMAIL      ... } <\/code><\/pre>\n<p><a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/project_flavors\/flavor_jewelry.gradle\" rel=\"noopener noreferrer nofollow\"><strong><em>flavor_<\/em>jewelry.gradle<\/strong><\/a>:<\/p>\n<pre><code>...  jewelry {     ...      \/* MAIN SCREEN *\/     buildConfigField MAIN_SCREEN_TYPE, MAIN_SCREEN_VAR, MS_SHOPS      \/* MODULES *\/     buildConfigField APP_MODULES_TYPE, APP_MODULES_VAR, list(AM_LOYALTY, AM_SHOPS)      \/* REGISTRATION *\/     buildConfigField USER_ID_TYPE, USER_ID_VAR, UI_PHONE      ... } <\/code><\/pre>\n<h4>2.3.7 \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043a\u043e\u043d\u0444\u0438\u0433\u0443<\/h4>\n<p>\u0421\u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 Clean Architecture.<\/p>\n<p>\u041a\u043b\u0430\u0441\u0441\u044b \u043a\u043e\u043d\u0444\u0438\u0433\u043e\u0432 \u043f\u0440\u0438\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u044e \u043a \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0430\u043c \u0432 \u0441\u043b\u043e\u0435 <code>data<\/code>, \u0438\u0431\u043e \u043e\u043d\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0434\u0430\u043d\u043d\u044b\u0435. \u0422\u043e\u0433\u0434\u0430 <code>ui<\/code> \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c <code>domain<\/code>.<\/p>\n<p>\u041a\u0430\u043a \u0441\u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u043f\u043e \u043a\u043b\u0430\u0441\u0441\u0430\u043c? \u041c\u044b \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0437\u0430 \u0433\u0440\u0443\u043f\u043f\u0443 \u0432\u0437\u044f\u043b\u0438 \u044d\u043a\u0440\u0430\u043d, \u0430 \u0437\u0440\u044f. \u0421 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b, \u043a\u043e\u043c\u043f\u0430\u043a\u0442\u043d\u044b\u0435 \u043a\u043b\u0430\u0441\u0441\u044b, \u0430 \u0441 \u0434\u0440\u0443\u0433\u043e\u0439 \u2014 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0438 \u043a\u043e\u043b\u043b\u0438\u0437\u0438\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0430\u0445 \u0432\u0432\u043e\u0434\u0430 \u043d\u043e\u043c\u0435\u0440\u0430 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0430 \u0438 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u043d\u0443\u0436\u043d\u0430 \u043c\u0430\u0441\u043a\u0430 \u043d\u043e\u043c\u0435\u0440\u0430. \u041f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0447\u0438\u0442\u044b\u0432\u0430\u043d\u0438\u0435 \u0438\u0437 \u043a\u043e\u043d\u0444\u0438\u0433\u0430 2 \u0440\u0430\u0437\u0430.<\/p>\n<p>\u0421 <code>BuildConfig<\/code> \u044d\u0442\u043e \u043b\u0435\u0433\u043a\u043e, \u043d\u043e \u0441 <code>JSON<\/code> \u0431\u0443\u0434\u0435\u0442 \u0433\u0440\u044f\u0437\u043d\u043e. \u0421\u0447\u0438\u0442\u0430\u044e, \u0447\u0442\u043e \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0443 (\u0444\u043b\u043e\u0443). \u041f\u043e\u0434 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u043c \u0437\u0434\u0435\u0441\u044c \u043f\u043e\u043d\u0438\u043c\u0430\u044e \u0446\u0435\u043b\u0435\u0432\u043e\u0439 use case \u0438 \u0432\u0442\u043e\u0440\u0438\u0447\u043d\u044b\u0435 \u043f\u043e \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044e \u043a \u043d\u0435\u043c\u0443. \u041e\u0431\u044b\u0447\u043d\u043e \u044d\u0442\u043e \u0433\u0440\u0443\u043f\u043f\u0430 \u044d\u043a\u0440\u0430\u043d\u043e\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432 \u043c\u043e\u0434\u0443\u043b\u0435 \u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0434\u0432\u0430 \u0446\u0435\u043b\u0435\u0432\u044b\u0445 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430:<\/p>\n<ol>\n<li>\n<p><strong>\u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f<\/strong> \u2014 \u0447\u0442\u043e\u0431\u044b \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f, \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0432\u0432\u0435\u0441\u0442\u0438 \u043b\u043e\u0433\u0438\u043d, \u0430 \u0437\u0430\u0442\u0435\u043c \u043a\u043e\u0434 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043d\u0438\u044f;<\/p>\n<\/li>\n<li>\n<p><strong>\u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0434\u0438\u0441\u043a\u043e\u043d\u0442\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u044b<\/strong> \u2014 \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f, \u043d\u0443\u0436\u043d\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0435\u0451 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c, \u043b\u0438\u0431\u043e \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c.<\/p>\n<\/li>\n<\/ol>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0430 \u0434\u043b\u044f \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430: \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442 <strong>BuildCardConfig.kt<\/strong>:<\/p>\n<pre><code class=\"kotlin\">class BuildCardConfig : CardConfig {      override fun numberMask(): String = BuildConfig.CARD_NUMBER_MASK      override fun barcodeType(): BarcodeType = BuildConfig.BARCODE_TYPE      override fun obtainmentMethods(): List&lt;ObtainCardMethod&gt; = BuildConfig.OBTAIN_CARD_METHODS      ... } <\/code><\/pre>\n<p>\u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043a\u043e\u043d\u0444\u0438\u0433\u043e\u043c (\u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 UML; \u0432 <code>ui<\/code> MVVM):<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/a54\/0ba\/308\/a540ba30830e4d5efa7e0559add462ca\" width=\"905\" height=\"398\"><figcaption><\/figcaption><\/figure>\n<p><code>UseCase<\/code> \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u043e\u0434\u043d\u0438\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u043e\u043c, \u0438\u0431\u043e \u0432 \u044d\u0442\u043e\u043c \u043a\u043b\u0430\u0441\u0441\u0435 \u0435\u0441\u0442\u044c \u0432\u0441\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0446\u0435\u043b\u0435\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430. \u0415\u0441\u043b\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u2014 \u0437\u0432\u043e\u043d\u043e\u0447\u0435\u043a, \u043f\u043e\u0445\u043e\u0436\u0435 <code>UseCase<\/code> \u0434\u0435\u043b\u0430\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0432\u0435\u0449\u0435\u0439.<\/p>\n<h4>2.3.8 \u0412\u0430\u043b\u0438\u0434\u0438\u0440\u0443\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433<\/h4>\n<p>\u00ab\u0417\u0430\u0447\u0435\u043c \u043d\u0443\u0436\u043d\u0430 \u043f\u0440\u043e\u0441\u043b\u043e\u0439\u043a\u0430 \u0432 <code>domain<\/code>? \u041e\u043d\u0430 \u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0443\u0441\u0442\u0430\u044f!\u00bb \u041d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e. \u0412 \u0438\u0434\u0435\u0430\u043b\u0435, \u0445\u043e\u0442\u0438\u043c \u0437\u0430\u0449\u0438\u0442\u0443 \u043e\u0442 \u0434\u0443\u0440\u0430\u043a\u0430 \u2014 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u0444\u0438\u0447\u0435\u0439 \u043d\u0430 \u043d\u0435\u043f\u0440\u043e\u0442\u0438\u0432\u043e\u0440\u0435\u0447\u0438\u0432\u043e\u0441\u0442\u044c. \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u0434\u0430\u043d\u043e 2 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430:<\/p>\n<ol>\n<li>\n<p>\u0432\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438;<\/p>\n<\/li>\n<li>\n<p>\u0433\u043b\u0430\u0432\u043d\u044b\u0439 \u044d\u043a\u0440\u0430\u043d.<\/p>\n<\/li>\n<\/ol>\n<p>\u0415\u0441\u043b\u0438 \u043c\u043e\u0434\u0443\u043b\u044c \u00ab\u043d\u043e\u0432\u043e\u0441\u0442\u0438 \u0438 \u0430\u043a\u0446\u0438\u0438\u00bb \u0432\u044b\u043a\u043b\u044e\u0447\u0451\u043d, \u0442\u043e \u043b\u043e\u0433\u0438\u0447\u043d\u043e, \u0447\u0442\u043e \u0433\u043b\u0430\u0432\u043d\u044b\u043c \u044d\u043a\u0440\u0430\u043d\u043e\u043c \u00ab\u043d\u043e\u0432\u043e\u0441\u0442\u0438\u00bb \u0431\u044b\u0442\u044c \u043d\u0435 \u043c\u043e\u0436\u0435\u0442. \u041d\u043e \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 Gradle \u0438\u043b\u0438 JSON Schema \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e \u2014 \u0442\u0430\u043a\u0438\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c \u0438 \u043c\u0435\u0441\u0442\u043e \u0432 <code>domain<\/code>.<\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0432 <a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/app\/src\/main\/java\/com\/example\/whitelabelexample\/domain\/usecase\/main\/GetMainTabUseCase.kt\" rel=\"noopener noreferrer nofollow\"><strong>GetMainTabUseCase.kt<\/strong><\/a>:<\/p>\n<pre><code class=\"kotlin\">class GetMainTabUseCase(     private val mainConfig: MainConfig ) {      operator fun invoke(): NavigationTab {         val mainTab = mainConfig.mainTab()         val mainModule = tabsByModules.entries.find { it.value == mainTab }!!.key         val isModuleEnabled = BuildConfig.APP_MODULES.contains(mainModule)         if (isModuleEnabled.not()) {             throw IllegalStateException(\"Can't use a tab ($mainTab) as main, it's module is disabled  \u2014 fix config!\")         }         return mainTab     } } <\/code><\/pre>\n<p>\u0412\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: \u0435\u0441\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c <code>UseCase<\/code> \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440, \u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u043f\u0443\u0441\u0442\u044b\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432. \u0412\u0435\u0434\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0435\u0441\u0442\u044c \u043d\u0435 \u0432\u0435\u0437\u0434\u0435.<\/p>\n<p>\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0430 \u2014 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c <code>UseCase<\/code> \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e \u043d\u0430\u0434\u043e\u0431\u043d\u043e\u0441\u0442\u0438, \u043d\u043e \u0442\u043e\u0433\u0434\u0430 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043d\u0435\u043e\u0434\u043d\u043e\u0440\u043e\u0434\u043d\u043e\u0441\u0442\u044c: \u0432 <code>ui<\/code> \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0438 <code>Config<\/code> \u0438 <code>UseCase<\/code>. \u0420\u0438\u0441\u043a\u0443\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438, \u0432 \u0435\u0451 \u043e\u0431\u0445\u043e\u0434, \u0438 \u0441\u043b\u0435\u0434\u043e\u043c \u0437\u0430 \u044d\u0442\u0438\u043c \u0440\u0430\u0441\u0442\u0451\u0442 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0431\u0430\u0433\u043e\u0432.<\/p>\n<p>\u0412\u043f\u0440\u043e\u0447\u0435\u043c, \u0435\u0441\u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u043b \u0443 \u0432\u0430\u0441 \u0441\u0443\u0431\u044a\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u043c\u0430\u043b\u043e \u0438 \u043a\u043e\u043b\u043b\u0438\u0437\u0438\u0438 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0435, \u0442\u0430\u043a\u0430\u044f \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044f \u043d\u0435 \u043d\u0443\u0436\u043d\u0430. \u041c\u044b \u043e\u0431\u043e\u0448\u043b\u0438\u0441\u044c \u0431\u0435\u0437 \u043d\u0435\u0451 \u0438 \u0431\u0430\u0433\u043e\u0432 \u0438\u0437-\u0437\u0430 \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u043a\u0430 \u043d\u0435 \u043b\u043e\u0432\u0438\u043b\u0438.<\/p>\n<h3>2.4 \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0444\u0438\u0447\u0438<\/h3>\n<h4>2.4.1 \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043c\u043e\u0434\u0443\u043b\u0438<\/h4>\n<p>\u041c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u044b \u043a\u043b\u0438\u0435\u043d\u0442\u0443. \u041f\u043e\u0434 \u043c\u043e\u0434\u0443\u043b\u0435\u043c \u0437\u0434\u0435\u0441\u044c \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0435\u043c \u0441\u0432\u044f\u0437\u043d\u044b\u0439 \u0438 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0439 \u043a\u0443\u0441\u043e\u043a \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u043e\u0431\u044b\u0447\u043d\u043e \u043a\u0440\u0443\u043f\u043d\u044b\u0439. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0434\u0443\u043b\u044c \u00ab\u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u00bb: \u0432 \u043d\u0435\u0433\u043e \u0432\u0445\u043e\u0434\u0438\u0442 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u0434\u0438\u0441\u043a\u043e\u043d\u0442\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u043e\u0439 \u0438 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f.<\/p>\n<blockquote>\n<p>\u041c\u043e\u0434\u0443\u043b\u044c \u0437\u0434\u0435\u0441\u044c \u2013 \u043a\u0440\u0443\u043f\u043d\u044b\u0439 \u0441\u0432\u044f\u0437\u043d\u044b\u0439 \u0438 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u0439 \u043a\u0443\u0441\u043e\u043a \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438.<\/p>\n<\/blockquote>\n<p>\u0412 \u0438\u0434\u0435\u0430\u043b\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0432\u044b\u043f\u0438\u043b\u0438\u0432\u0430\u0442\u044c \u043a\u043e\u0434 \u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0438\u0437 APK. \u041d\u043e \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u044d\u0442\u043e \u043e\u0432\u0435\u0440\u043a\u0438\u043b\u043b, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u043c\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c.<\/p>\n<p>\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0433\u043b\u0430\u0432\u043d\u044b\u0435 \u0442\u043e\u0447\u043a\u0438 \u0441\u0432\u044f\u0437\u0438 \u043c\u043e\u0434\u0443\u043b\u044f \u0441 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c:<\/p>\n<ol>\n<li>\n<p><strong>\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u044b \u0438\u0437<\/strong><code>ui<\/code> \u2014 \u0431\u043e\u0442\u0442\u043e\u043c \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f, \u0440\u0430\u043d\u0434\u043e\u043c\u043d\u0430\u044f \u043a\u043d\u043e\u043f\u043a\u0430, etc;<\/p>\n<\/li>\n<li>\n<p><strong>\u0420\u0435\u0430\u043a\u0446\u0438\u044f \u043d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f<\/strong> \u2014 \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 (\u0432\u044b\u0431\u0440\u0430\u043d \u0433\u043e\u0440\u043e\u0434), \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b (\u043d\u0430\u0439\u0434\u0435\u043d\u0430 \u0441\u0435\u0442\u044c), etc.<\/p>\n<\/li>\n<\/ol>\n<p>\u041f\u043e \u043e\u043f\u044b\u0442\u0443, \u043e\u0431\u044b\u0447\u043d\u043e \u0445\u0432\u0430\u0442\u0438\u0442 \u0443\u0431\u0440\u0430\u0442\u044c \u043f\u0443\u043d\u043a\u0442 \u043c\u043e\u0434\u0443\u043b\u044f \u0438\u0437 \u043c\u0435\u043d\u044e, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u2014 \u044d\u0442\u043e \u0442\u0430\u0431 \u0438\u0437 \u0431\u043e\u0442\u0442\u043e\u043c \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438. \u042f \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043b \u043f\u0440\u0438\u043c\u0435\u0440 \u0432 <code>MainViewModel<\/code> \u0438 <code>MainActivity<\/code> \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n<p>\u041d\u043e \u0431\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u043c\u0435\u0436\u043c\u043e\u0434\u0443\u043b\u044c\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u044b, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u0433\u0434\u0430 \u043f\u043e \u043a\u043d\u043e\u043f\u043a\u0435 \u0438\u0437 \u0430\u043a\u0446\u0438\u0438 \u043f\u043e\u043f\u0430\u0434\u0430\u0435\u043c \u043d\u0430 \u044d\u043a\u0440\u0430\u043d \u043a\u0430\u0440\u0442\u044b \u2013 \u0442\u0430\u043a\u043e\u0435 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043a\u0435\u0439\u0441\u0430.<\/p>\n<p>\u041d\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432 \u00ab\u041b\u043e\u044f\u043a\u0435\u00bb \u0440\u0435\u0430\u0433\u0438\u0440\u0443\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0434\u0443\u043b\u044c \u043f\u0443\u0448\u0435\u0439. \u041a\u043e\u0433\u0434\u0430 \u044e\u0437\u0435\u0440 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u0442 \u0441\u0432\u043e\u0439 \u0433\u043e\u0440\u043e\u0434 \u2013 \u043f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c\u0441\u044f \u043d\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u043d\u043e\u0432\u043e\u0441\u0442\u043d\u043e\u0439 \u043a\u0430\u043d\u0430\u043b. \u041e\u043f\u044f\u0442\u044c \u0436\u0435 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u043c \u043a\u0430\u0436\u0434\u044b\u0439 \u043a\u0435\u0439\u0441.<\/p>\n<p>\u0412\u0441\u043f\u043b\u044b\u0432\u0430\u0435\u0442 \u043d\u0435\u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u0439 \u043c\u0438\u043d\u0443\u0441 <code>buildConfigField<\/code> \u2013 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0434\u0430\u0436\u0435 \u0434\u043b\u044f \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439, \u0445\u043e\u0442\u044f \u0431\u044b \u043a\u0430\u043a <code>null<\/code>, \u0438\u043d\u0430\u0447\u0435 \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0435 \u0441\u043e\u0431\u0435\u0440\u0451\u0442\u0441\u044f.<\/p>\n<h4>2.4.2 \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u044d\u043a\u0440\u0430\u043d\u044b \u0438 \u0431\u0438\u0437\u043d\u0435\u0441-\u043f\u0440\u0430\u0432\u0438\u043b\u0430<\/h4>\n<p>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 \u0444\u0438\u0447\u0435\u0439 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 \u0443\u0436\u0435 \u0441\u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u0438 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0438 \u0441\u0435\u0442\u0438 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043a\u0430\u0440\u0442\u0443 \u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438\u0437 \u043a\u044d\u0448\u0430. \u041e\u0434\u043d\u0430\u043a\u043e \u0445\u043e\u0442\u0438\u043c \u044d\u0442\u043e \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043a\u044d\u0448 \u0434\u043b\u044f \u043a\u0435\u0439\u0441\u043e\u0432, \u043a\u043e\u0433\u0434\u0430 \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u0430 \u0441\u0432\u0435\u0436\u0435\u0441\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p>\u041d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 <code>UseCase<\/code> \u0431\u0435\u0440\u0451\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0438\u0437 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 <code>Config<\/code>.<\/p>\n<p><a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/app\/src\/main\/java\/com\/example\/whitelabelexample\/domain\/usecase\/card\/GetCardUseCase.kt\" rel=\"noopener noreferrer nofollow\"><strong>GetCardUseCase.kt<\/strong><\/a>:<\/p>\n<pre><code class=\"kotlin\">class GetCardUseCase(     private val netRep: CardNetRepository,     private val storageRep: CardStorageRepository,     private val config: CardConfig ) {      operator fun invoke(): Card? {         return if (config.isCacheCard()) {             try {                 val card = netRep.getCard()                 storageRep.save(card)                 card             } catch (exception: Exception) {                 return storageRep.get()             }         } else {             netRep.getCard()         }     } } <\/code><\/pre>\n<p>\u0412 <code>ui<\/code> \u0436\u0435 \u043e\u0431\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u043a <code>UseCase<\/code> \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 <code>ViewModel<\/code> \u0438\u043b\u0438 <code>Presenter<\/code>.<\/p>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043a\u0430\u0440\u0442\u0443 \u0434\u0432\u0443\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438: \u043f\u0440\u0438\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u043c \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0438\u043b\u0438 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e. \u041d\u0435 \u0443 \u0432\u0441\u0435\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u043e\u0431\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u0430, \u043d\u043e \u043e\u0434\u0438\u043d \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d.<\/p>\n<p>\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f: <a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/app\/src\/main\/java\/com\/example\/whitelabelexample\/ui\/loyalty\/nocard\/NoCardViewModel.kt\" rel=\"noopener noreferrer nofollow\"><strong>NoCardViewModel.kt<\/strong><\/a>:<\/p>\n<pre><code class=\"kotlin\"> class NoCardViewModel(     private val getObtainMethodsUseCase: GetObtainMethodsUseCase,     ... ){     private val cardObtainMethods by lazy { getObtainMethodsUseCase() }      val isShowGetVirtualButton by lazy {         cardObtainMethods.contains(ObtainCardMethod.GENERATE_VIRTUAL)     }     val isShowBindPlasticButton by lazy {         cardObtainMethods.contains(ObtainCardMethod.BIND_PHYSICAL)     }      ... } <\/code><\/pre>\n<p><a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/app\/src\/main\/res\/layout\/fragment_no_card.xml\" rel=\"noopener noreferrer nofollow\"><strong>fragment_<em>no<\/em>card.xml<\/strong><\/a>:<\/p>\n<pre><code class=\"xml\">...  &lt;com.google.android.material.button.MaterialButton     android:id=\"@+id\/no_card_bind_plastic_button\"     ...     app:isVisible=\"@{viewmodel.isShowBindPlasticButton}\" \/&gt;  &lt;com.google.android.material.button.MaterialButton     android:id=\"@+id\/no_card_get_virtual_button\"     ...     app:isVisible=\"@{viewmodel.isShowGetVirtualButton}\" \/&gt;  ... <\/code><\/pre>\n<h4>2.4.3 \u0415\u0449\u0451 \u043e\u0434\u0438\u043d \u0442\u0440\u044e\u043a<\/h4>\n<p>\u0418\u043d\u043e\u0433\u0434\u0430 \u0432\u0430\u0440\u0438\u0430\u0442\u0438\u0432\u043d\u0443\u044e \u0432\u0451\u0440\u0441\u0442\u043a\u0443 \u0446\u0435\u043b\u0435\u0441\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u0435\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0431\u0435\u0437 \u043a\u043e\u043d\u0444\u0438\u0433\u0430.<\/p>\n<p>\u0412\u0441\u043f\u043e\u043c\u043d\u0438\u043c \u043d\u0430\u0447\u0430\u043b\u043e \u043f\u043e\u0441\u0442\u0430, \u0445\u043e\u0442\u0438\u043c \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0438\u0441\u043a\u043e\u043d\u0442\u043d\u0443\u044e \u043a\u0430\u0440\u0442\u0443 \u2013 \u043d\u043e\u043c\u0435\u0440, \u0441\u0442\u0430\u0442\u0443\u0441, \u0440\u0430\u0437\u043c\u0435\u0440 \u0441\u043a\u0438\u0434\u043a\u0438 \u0438 \u0431\u0430\u043b\u0430\u043d\u0441 \u0431\u043e\u043d\u0443\u0441\u043e\u0432. \u041e\u0434\u043d\u0430\u043a\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0438\u043d\u0433 \u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0443 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0440\u0430\u0437\u043d\u044b\u0439, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0435 \u0432\u0441\u0435 \u043f\u043e\u043b\u044f \u0433\u0430\u0440\u0430\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u044b:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/b8c\/25a\/894\/b8c25a894219e22ca20924dbfbe7ee15.png\" width=\"1200\" height=\"432\"><figcaption><\/figcaption><\/figure>\n<p>\u0410\u043d\u0430\u043b\u0438\u0442\u0438\u043a \u0441\u043e\u0431\u0440\u0430\u043b \u043d\u0430\u0438\u0431\u043e\u043b\u0435\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u044b\u0435 \u043f\u043e\u043b\u044f, \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440 \u043f\u0440\u043e\u0434\u0443\u043c\u0430\u043b \u043a\u0435\u0439\u0441\u044b \u0438 \u043f\u0435\u0440\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0432\u044c\u044e\u0445\u0438. \u041f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0442\u0430\u043a, \u0447\u0442\u043e \u043e\u0431\u043e\u0448\u043b\u0438\u0441\u044c \u0434\u0430\u0436\u0435 \u0431\u0435\u0437 \u043a\u043e\u043d\u0444\u0438\u0433\u0430 \u2014 \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0442\u043e, \u043a\u0430\u043a\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u0441 \u0431\u044d\u043a\u0435\u043d\u0434\u0430 \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435. \u0412 \u0442\u0435\u0441\u0442\u043e\u0432\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u043f\u0440\u0438\u043c\u0435\u0440 \u2014 <a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/app\/src\/main\/java\/com\/example\/whitelabelexample\/ui\/loyalty\/cardinfo\/CardInfoFragment.kt\" rel=\"noopener noreferrer nofollow\">CardInfoFragment<\/a>.<\/p>\n<h2>3 \u041f\u043e\u0434\u0432\u0435\u0434\u0451\u043c \u0438\u0442\u043e\u0433<\/h2>\n<p>\u041c\u044b \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 White Label android-\u043f\u0440\u043e\u0435\u043a\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u043c \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f\u043c, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442:<\/p>\n<p>\u2705 <strong>\u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0442\u044c \u043e\u0431\u0449\u0443\u044e \u043a\u043e\u0434\u043e\u0432\u0443\u044e \u0431\u0430\u0437\u0443<\/strong> \u2013 \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0438 \u0444\u0438\u0447\u0435\u0439 \u0438 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043e\u0442 10 \u0434\u043e 100;<\/p>\n<p>\u2705 <strong>\u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0434 \u043a\u043b\u0438\u0435\u043d\u0442\u0430<\/strong> \u2013 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u043d\u0430\u0431\u043e\u0440 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0438 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0444\u0438\u0447\u0435\u0439, \u043c\u0435\u043d\u044f\u0442\u044c \u0431\u0440\u0435\u043d\u0434, \u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u043e (\u0434\u043e \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0447\u0430\u0441\u043e\u0432, \u043f\u043e \u043c\u043e\u0435\u0439 \u043e\u0446\u0435\u043d\u043a\u0435).<\/p>\n<p>\u0413\u043e\u0440\u044c\u043a\u0438\u043c\u0438 \u0443\u0440\u043e\u043a\u0430\u043c\u0438 \u043f\u043e\u0434\u0435\u043b\u0438\u043b\u0438\u0441\u044c, best practices \u043f\u0435\u0440\u0435\u0434\u0430\u043b\u0438. \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u043d\u0430\u0448 \u043e\u043f\u044b\u0442 \u0441\u043e\u0437\u0434\u0430\u043b \u0446\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 White Label android-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0438 \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u0443\u044e \u043e\u0442\u043f\u0440\u0430\u0432\u043d\u0443\u044e \u0442\u043e\u0447\u043a\u0443 \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430.<\/p>\n<p>\u041d\u0430\u043f\u043e\u043c\u043d\u044e, \u0447\u0442\u043e \u043f\u043e\u043b\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 <a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\" rel=\"noopener noreferrer nofollow\">\u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043d\u0430 \u0433\u0438\u0442\u0445\u0430\u0431\u0435<\/a> \u2014 \u043c\u043e\u0436\u043d\u043e \u0438\u0437\u0443\u0447\u0438\u0442\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435, \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438. \u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f <a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.livetyping.mommys\" rel=\"noopener noreferrer nofollow\">\u0435\u0441\u0442\u044c \u0432 \u0441\u0442\u043e\u0440\u0435<\/a>.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0438 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u2014 \u043f\u0438\u0448\u0438\u0442\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u044b, \u0431\u0443\u0434\u0443 \u0440\u0430\u0434 \u043e\u0442\u0432\u0435\u0442\u0438\u0442\u044c!<\/p>\n<h2>4 \u041a\u0443\u0434\u0430 \u0440\u0430\u0437\u0432\u0438\u0442\u044c \u0440\u0435\u0448\u0435\u043d\u0438\u0435?<\/h2>\n<ul>\n<li>\n<p>\u041c\u044b \u043f\u0440\u043e\u0434\u0430\u0451\u043c \u0446\u0435\u043b\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0430 \u0447\u0442\u043e \u0435\u0441\u043b\u0438 <strong>\u043f\u0440\u043e\u0434\u0430\u0432\u0430\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0438 \u0432 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/strong>? \u0422\u043e\u0442 \u0436\u0435 White Label, \u043d\u043e \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u043d\u0438\u0436\u0435. \u041c\u044b \u0442\u0430\u043a\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443 \u0440\u0435\u0448\u0430\u043b\u0438, \u0435\u0441\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e \u2013 \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0445, \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u043c.<\/p>\n<\/li>\n<li>\n<p>\u041a\u043e\u0433\u0434\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0440\u0430\u0441\u0442\u0451\u0442, \u0445\u043e\u0447\u0435\u0442\u0441\u044f CI \u0438 CD. <a href=\"https:\/\/github.com\/seanKenkeremath\/AzureDevopsAndroidFlavorsExample\" rel=\"noopener noreferrer nofollow\">\u0412 \u044d\u0442\u043e\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438<\/a> \u0435\u0441\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0439 \u0433\u0430\u0439\u0434 \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 Azure Devops.<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0435 \u043d\u0443\u0436\u043d\u0430 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u0430\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0444\u0438\u0447\u0435\u0439, \u0430 \u043f\u0438\u0441\u0430\u0442\u044c flavors \u0440\u0443\u043a\u0430\u043c\u0438 \u043d\u0430\u0434\u043e\u0435\u043b\u043e \u2013 <a href=\"https:\/\/habr.com\/ru\/post\/434994\/\" rel=\"noopener noreferrer nofollow\">\u0441\u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0430\u0432\u0442\u043e\u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e flavors<\/a> \u043f\u043e json \u043a\u043e\u043d\u0444\u0438\u0433\u0443.<\/p>\n<\/li>\n<li>\n<p>\u0411\u0438\u0437\u043d\u0435\u0441 \u0431\u044c\u0451\u0442 \u043a\u043b\u044e\u0447\u043e\u043c, \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0431\u043e\u043b\u044c\u0448\u0435 \u0441\u043e\u0442\u043d\u0438? \u041f\u043e\u0440\u0430 <a href=\"https:\/\/habr.com\/ru\/company\/rambler_group\/blog\/519744\/\" rel=\"noopener noreferrer nofollow\">\u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439<\/a>.<\/p>\n<\/li>\n<\/ul>\n<p>\u0415\u0441\u043b\u0438 \u0437\u043d\u0430\u0435\u0442\u0435 \u043a\u0435\u0439\u0441\u044b, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435\u0442 \u0441\u0441\u044b\u043b\u043e\u043a \u0432 \u043d\u0430\u0448\u0435\u0439 \u0441\u0442\u0430\u0442\u044c\u0435, \u0442\u043e \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043a\u0438\u043d\u044c\u0442\u0435 \u0438\u0445 \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u044b \u2013 \u0432\u043c\u0435\u0441\u0442\u0435 \u043c\u044b \u0442\u043e\u0447\u043d\u043e \u0441\u043e\u0431\u0435\u0440\u0451\u043c \u043a\u0440\u0443\u0442\u0443\u044e \u0431\u0438\u0431\u043b\u0438\u043e\u0433\u0440\u0430\u0444\u0438\u044e!<\/p>\n<p>P.S. Shout-out \u0434\u043e\u0440\u043e\u0433\u0438\u043c \u043a\u043e\u043b\u043b\u0435\u0433\u0430\u043c \u0437\u0430 \u0440\u0430\u0431\u043e\u0442\u0443 \u043d\u0430\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c \u0438 \u043f\u043e\u043c\u043e\u0449\u044c \u0432 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0438 \u0441\u0442\u0430\u0442\u044c\u0438 &#8212; \u0431\u0435\u0437 \u0432\u0430\u0441 \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \ud83d\ude42<\/p>\n<\/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=\"https:\/\/habr.com\/ru\/post\/541204\/\"> https:\/\/habr.com\/ru\/post\/541204\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<p><em>\u041a\u0430\u043a \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u0434 \u043e\u0434\u0438\u043d \u0440\u0430\u0437, \u0430 \u043f\u0440\u043e\u0434\u0430\u0442\u044c 20 \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439? \u041c\u044b \u043d\u0430\u0448\u043b\u0438 \u043e\u0442\u0432\u0435\u0442 \u043f\u0443\u0442\u0451\u043c \u043f\u0440\u043e\u0431 \u0438 \u0444\u0430\u043a\u0430\u043f\u043e\u0432 \u0438 \u0440\u0430\u0437\u043b\u043e\u0436\u0438\u043b\u0438 \u043e\u043f\u044b\u0442 \u043f\u043e \u043f\u0443\u043d\u043a\u0442\u0430\u043c: \u0438\u0437 \u0441\u0442\u0430\u0442\u044c\u0438 \u0432\u044b \u0443\u0437\u043d\u0430\u0435\u0442\u0435, \u043a\u0430\u043a \u0431\u0435\u0437\u0431\u043e\u043b\u0435\u0437\u043d\u0435\u043d\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c White Label android-\u043f\u0440\u043e\u0435\u043a\u0442.<\/em><\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>Greetings and salutations! \u041f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u044f \u043e\u0434\u043d\u0430\u0436\u0434\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043a\u0440\u0443\u0442\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 White Label android-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u0418\u0437\u0443\u0447\u0438\u043b \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f \u043a\u043e\u043b\u043b\u0435\u0433 \u0432 \u044d\u0442\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0438 \u043d\u0430\u0448\u0451\u043b \u0442\u043e\u043b\u044c\u043a\u043e:<\/p>\n<ul>\n<li>\n<p>\u0432\u0445\u043e\u0434\u043d\u044b\u0435 \u0433\u0430\u0439\u0434\u044b (<a href=\"https:\/\/proandroiddev.com\/android-flavours-white-labeling-an-app-46a17b8b27a4\" rel=\"noopener noreferrer nofollow\">\u0440\u0430\u0437<\/a>, <a href=\"https:\/\/willowtreeapps.com\/ideas\/building-scalable-white-label-android-apps\" rel=\"noopener noreferrer nofollow\">\u0434\u0432\u0430<\/a>, <a href=\"https:\/\/willowtreeapps.com\/ideas\/building-scalable-white-label-android-apps\" rel=\"noopener noreferrer nofollow\">\u0442\u0440\u0438<\/a>, etc) \u043e \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430\u0445, \u043d\u043e \u0431\u0435\u0437 \u043f\u0440\u043e\u043c\u044b\u0448\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0434\u0438\u0437\u0430\u0439\u043d\u0430;<\/p>\n<\/li>\n<li>\n<p>\u0441\u0442\u0430\u0442\u044c\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u044b \u0443\u0437\u043a\u0438\u0435 \u0430\u0441\u043f\u0435\u043a\u0442\u044b \u0437\u0430\u0434\u0430\u0447\u0438 (<a href=\"https:\/\/habr.com\/ru\/company\/rambler_group\/blog\/519744\/\" rel=\"noopener noreferrer nofollow\">\u0440\u0430\u0437<\/a>, <a href=\"https:\/\/habr.com\/ru\/post\/434994\/\" rel=\"noopener noreferrer nofollow\">\u0434\u0432\u0430<\/a>, etc).<\/p>\n<\/li>\n<\/ul>\n<p>\u041d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u0442\u0435\u043c\u0435 \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0446\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0433\u0430\u0439\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0432\u0435\u0434\u0451\u0442 \u043e\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0435\u0439 \u043a \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f\u043c, \u043e\u0442 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u0439 \u043a \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0435 \u0438 \u0432\u043e\u043e\u0440\u0443\u0436\u0438\u0442 best practices. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0440\u0435\u0448\u0438\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0433\u043e \u0441\u0430\u043c.<\/p>\n<h2>1 \u0421\u0442\u0430\u0432\u0438\u043c \u0437\u0430\u0434\u0430\u0447\u0443<\/h2>\n<p>\u0418 \u043c\u0430\u043b\u044b\u0439, \u0438 \u0441\u0440\u0435\u0434\u043d\u0438\u0439 \u0431\u0438\u0437\u043d\u0435\u0441 \u043d\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044f \u0432 \u0434\u0435\u0448\u0451\u0432\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 \u0434\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c \u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u0438: \u043a\u0440\u0443\u043f\u043d\u044b\u0435 \u0440\u0435\u0442\u0435\u0439\u043b\u0435\u0440\u044b \u0443\u0436\u0435 \u043e\u0431\u0437\u0430\u0432\u0435\u043b\u0438\u0441\u044c \u0442\u0430\u043a\u0438\u043c\u0438 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430\u043c\u0438 \u0438 \u043f\u0440\u0438\u0443\u0447\u0438\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u043a \u043c\u043e\u0431\u0438\u043b\u044c\u043d\u044b\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c.<\/p>\n<p>\u0420\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043f\u0440\u043e\u0441\u0442\u043e (\u043f\u043e\u043a\u0443\u043f\u0430\u0442\u0435\u043b\u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u043a\u0430\u0441\u0441\u0435 \u0432\u043c\u0435\u0441\u0442\u043e \u043f\u043b\u0430\u0441\u0442\u0438\u043a\u043e\u0432\u043e\u0439 \u043a\u0430\u0440\u0442\u044b \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u0441\u043a\u0438\u0434\u043a\u0438 \u0438 \u0431\u043e\u043d\u0443\u0441\u044b), \u0430 \u0434\u043b\u044f \u0435\u0451 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0443\u0436\u043d\u044b \u0442\u0438\u043f\u043e\u0432\u044b\u0435 \u0444\u0438\u0447\u0438: \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f, \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u0434\u0438\u0441\u043a\u043e\u043d\u0442\u043d\u0430\u044f \u043a\u0430\u0440\u0442\u0430 \u0438 \u043f\u0440\u043e\u0447\u0438\u0435.<\/p>\n<p>\u0411\u044e\u0434\u0436\u0435\u0442 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d&#8230; \u0444\u0438\u0447\u0438 \u0442\u0438\u043f\u043e\u0432\u044b\u0435&#8230; \u0434\u0430 \u0437\u0434\u0440\u0430\u0432\u0441\u0442\u0432\u0443\u0435\u0442 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439! \u0418\u043b\u0438 White Label \u043f\u0440\u043e\u0434\u0443\u043a\u0442? \u041f\u043e\u043a\u0430 \u043e\u0442\u043b\u043e\u0436\u0438\u043c \u0442\u0435\u0440\u043c\u0438\u043d\u044b \u0438 \u043e\u043f\u0438\u0448\u0435\u043c \u0437\u0430\u0434\u0430\u0447\u0443: \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u043a\u043e\u0434\u043e\u0432\u043e\u0439 \u0431\u0430\u0437\u044b, \u043a\u0430\u0436\u0434\u043e\u0435 \u2013 \u0441 \u0434\u0438\u0437\u0430\u0439\u043d\u043e\u043c \u043f\u043e\u0434 \u0431\u0440\u0435\u043d\u0434 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0443\u0436\u043d\u044b\u043c\u0438 \u0435\u043c\u0443 \u0444\u0438\u0447\u0430\u043c\u0438.<\/p>\n<blockquote>\n<p>\u0417\u0430\u0434\u0430\u0447\u0430: \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432 \u0438\u0437 \u0435\u0434\u0438\u043d\u043e\u0439 \u043a\u043e\u0434\u043e\u0432\u043e\u0439 \u0431\u0430\u0437\u044b<\/p>\n<\/blockquote>\n<h3>1.1 \u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435<\/h3>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u044d\u043a\u0440\u0430\u043d\u0430 \u0434\u0438\u0441\u043a\u043e\u043d\u0442\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u044b. \u0412 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0435 \u043a\u0430\u0440\u0442\u0443 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0432\u0443\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438: \u0447\u0442\u043e\u0431\u044b \u0443\u0437\u043d\u0430\u0442\u044c \u0431\u0430\u043b\u0430\u043d\u0441 \u0438 \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u043e\u0442 \u0438\u043b\u0438 \u0438\u043d\u043e\u0439 \u0431\u043e\u043d\u0443\u0441.<\/p>\n<p>\u0423 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0431\u0440\u0435\u043d\u0434\u0430 \u0441\u0432\u043e\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0432 SEPHORA \u043d\u0430\u043a\u0430\u043f\u043b\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0431\u043e\u043d\u0443\u0441\u043d\u044b\u0435 \u0431\u0430\u043b\u043b\u044b \u0438 \u043f\u0440\u043e\u0446\u0435\u043d\u0442 \u0441\u043a\u0438\u0434\u043a\u0438, \u0430 \u0432 \u00ab\u041f\u044f\u0442\u0451\u0440\u043e\u0447\u043a\u0435\u00bb \u0442\u043e\u043b\u044c\u043a\u043e \u0431\u0430\u043b\u043b\u044b. \u0412 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 \u044d\u0442\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041c\u044b \u0445\u043e\u0442\u0438\u043c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u0438, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043e\u0431\u0449\u0438\u043c. \u041f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0432\u0430\u0440\u0438\u0430\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c, \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0439 \u0432\u0438\u0434 \u044d\u043a\u0440\u0430\u043d\u0430 \u043a\u0430\u0440\u0442\u044b \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u0432:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041a\u0430\u043a \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u0431\u0435\u0437 \u0431\u043e\u043b\u0438? \u041f\u0440\u043e\u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u0441\u0442\u0430\u0442\u044c\u044e \u0438 \u043d\u0430\u0439\u0434\u0451\u0442\u0435 \u043e\u0442\u0432\u0435\u0442.<\/p>\n<h3>1.2 \u0414\u0435\u0442\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f<\/h3>\n<p>\u0420\u0430\u0437\u043b\u043e\u0436\u0438\u043c \u0432\u0438\u0434\u0435\u043d\u0438\u0435 \u043f\u043e \u043f\u043e\u043b\u043e\u0447\u043a\u0430\u043c: \u043a\u0430\u043a \u0432 \u0422\u0417, \u043d\u043e \u043f\u0440\u043e\u0449\u0435.<\/p>\n<h4>\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f<\/h4>\n<ol>\n<li>\n<p>\u0420\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0449\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0444\u0438\u0447\u0435\u0439:<\/p>\n<ul>\n<li>\n<p><strong>\u043d\u043e\u0432\u043e\u0441\u0442\u0438<\/strong> \u2013 \u043a\u043b\u0438\u0435\u043d\u0442 \u0443\u0437\u043d\u0430\u0451\u0442 \u043e\u0431 \u0430\u043a\u0446\u0438\u044f\u0445 \u0438 \u0436\u0438\u0437\u043d\u0438 \u0441\u0435\u0442\u0438 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u043e\u0432;<\/p>\n<\/li>\n<li>\n<p><strong>\u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/strong> \u2013 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0434\u0438\u0441\u043a\u043e\u043d\u0442\u043d\u0443\u044e \u043a\u0430\u0440\u0442\u0443, \u0443\u0437\u043d\u0430\u0451\u0442 \u0431\u0430\u043b\u0430\u043d\u0441, \u043f\u0440\u043e\u0431\u0438\u0432\u0430\u0435\u0442 \u043d\u0430 \u043a\u0430\u0441\u0441\u0435;<\/p>\n<\/li>\n<li>\n<p>&#8230;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u0417\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f:<\/p>\n<ul>\n<li>\n<p><strong>\u043d\u0430\u0431\u043e\u0440\u044b \u0444\u0438\u0447\u0435\u0439<\/strong>, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u0441\u0430\u043c\u0438 \u043c\u043e\u0434\u0443\u043b\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b;<\/p>\n<\/li>\n<li>\n<p><strong>\u0431\u0440\u0435\u043d\u0434<\/strong>, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0446\u0432\u0435\u0442\u0430 \u0438 \u043c\u0435\u043d\u044f\u0442\u044c \u0440\u0435\u0441\u0443\u0440\u0441\u044b: \u0448\u0440\u0438\u0444\u0442\u044b, \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438, \u0437\u0430\u0448\u0438\u0442\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043d\u0442.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h4>\u041d\u0435\u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0435<\/h4>\n<ul>\n<li>\n<p>\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043e\u0431\u0449\u0438\u0439 \u043a\u043e\u0434;<\/p>\n<\/li>\n<li>\n<p>\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u2013 \u043c\u0435\u043d\u044c\u0448\u0435 \u0447\u0435\u0442\u044b\u0440\u0451\u0445 \u0447\u0430\u0441\u043e\u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430;<\/p>\n<\/li>\n<li>\n<p>\u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0443\u043f\u0440\u043e\u0449\u0430\u0442\u044c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u043e\u0442 10 \u0434\u043e 100 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.<\/p>\n<\/li>\n<\/ul>\n<h3>1.3 \u0427\u0442\u043e \u043f\u0438\u043b\u0438\u043c \u0442\u043e? \u041a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440? White Label?<\/h3>\n<p>\u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u044f\u0441\u043d\u044b \u2013 \u0440\u0430\u0437\u0431\u0435\u0440\u0451\u043c\u0441\u044f \u0441 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043c\u0438. \u041d\u0430 \u0441\u0442\u0430\u0440\u0442\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u044f \u0434\u0443\u043c\u0430\u043b, \u0447\u0442\u043e \u043c\u044b \u0434\u0435\u043b\u0430\u0435\u043c \u00ab\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439\u00bb. \u0418\u0441\u043a\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 \u0441 \u043e\u043f\u044b\u0442\u043e\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f, \u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u043b \u0440\u0435\u043a\u043b\u0430\u043c\u0443 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432. \u041f\u043e\u0442\u0440\u0430\u0442\u0438\u043b \u043f\u0430\u0440\u0443 \u0447\u0430\u0441\u043e\u0432 \u043d\u0430 \u0433\u0443\u0433\u043b \u0438 \u0441 \u0440\u0430\u0434\u043e\u0441\u0442\u044c\u044e \u0441\u044d\u043a\u043e\u043d\u043e\u043c\u043b\u044e \u0432\u0440\u0435\u043c\u044f \u0432\u0430\u043c:<\/p>\n<ol>\n<li>\n<p>\u0427\u0442\u043e \u0434\u0430\u0451\u0442 <a href=\"https:\/\/apptractor.ru\/develop\/app-constructors\" rel=\"noopener noreferrer nofollow\">\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\/\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430<\/a>:<\/p>\n<ul>\n<li>\n<p><strong>\u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u044b\u0439<\/strong> \u0441\u0435\u0440\u0432\u0438\u0441 \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0438\u0437 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432;<\/p>\n<\/li>\n<li>\n<p>\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <a href=\"https:\/\/www.appgyver.com\/\" rel=\"noopener noreferrer nofollow\">AppGyver<\/a> \u2013 drag\u2019n\u2019drop \u0432\u0451\u0440\u0441\u0442\u043a\u0430, \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0445 \u0444\u0438\u0447\u0430\u0445 (\u043e\u0442\u043a\u0440\u044b\u0442\u044c \u044d\u043a\u0440\u0430\u043d, \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0444\u043e\u0442\u043e);<\/p>\n<\/li>\n<li>\n<p>\u0442\u0432\u043e\u0440\u0438\u043c \u0447\u0442\u043e \u0443\u0433\u043e\u0434\u043d\u043e \u2013 \u043e\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043f\u043e \u043f\u043e\u043a\u0443\u043f\u043a\u0435 \u0437\u043e\u043b\u043e\u0442\u0430 \u0434\u043e \u043f\u0440\u0438\u0451\u043c\u043a\u0438 \u0433\u0440\u0443\u0437\u043e\u0432.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u0427\u0442\u043e \u0434\u0430\u0451\u0442 <a href=\"https:\/\/en.wikipedia.org\/wiki\/White-label_product\" rel=\"noopener noreferrer nofollow\">White Label<\/a>:<\/p>\n<ul>\n<li>\n<p>\u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u0434\u043b\u044f <strong>\u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0433\u043e<\/strong> \u0442\u0438\u043f\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <a href=\"http:\/\/www.taxiongo.com\/\" rel=\"noopener noreferrer nofollow\">\u0434\u043b\u044f \u0442\u0430\u043a\u0441\u0438<\/a>;<\/p>\n<\/li>\n<li>\n<p>\u0440\u0435\u0431\u0440\u0435\u043d\u0434\u0438\u043d\u0433 \u043f\u043e\u0434 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0432\u044b\u0441\u043e\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0445 \u0444\u0438\u0447 (\u043d\u043e\u0432\u043e\u0441\u0442\u0438, \u043f\u0440\u043e\u0444\u0438\u043b\u044c)<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>\u041d\u0430\u0448 \u0444\u043e\u043a\u0443\u0441 \u043d\u0430 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u0417\u043d\u0430\u0447\u0438\u0442, \u0434\u0435\u043b\u0430\u0435\u043c <strong>White Label<\/strong>. \u0413\u0443\u0433\u043b\u0438\u043c \u00abwhite label android development\u00bb \u0438 \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u0442\u043e, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e.<\/p>\n<h2>2 \u041f\u0440\u043e\u0435\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u0438 \u0432\u043e\u043f\u043b\u043e\u0449\u0430\u0435\u043c<\/h2>\n<h3>\u0421\u0442\u0440\u043e\u0438\u043c \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u0443\u044e \u0441\u0445\u0435\u043c\u0443 White Label \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/h3>\n<p>\u0414\u043b\u044f \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u00ab\u043f\u043e\u043d\u044f\u0442\u043d\u0443\u044e\u00bb \u0438 \u00ab\u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u043c\u0443\u044e\u00bb \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 (\u0440\u0430\u0441\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0442\u0435\u0440\u043c\u0438\u043d\u044b \u043d\u0435 \u0431\u0443\u0434\u0443, \u0437\u0434\u0435\u0441\u044c \u0445\u0432\u0430\u0442\u0438\u0442 \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u044f). \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0437\u0430\u0433\u043b\u044f\u043d\u0435\u043c \u0432\u0433\u043b\u0443\u0431\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0432\u044b\u0434\u0435\u043b\u0438\u043c \u043f\u043e\u0434\u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u043e \u0441\u043b\u043e\u044f\u043c Clean Architecture\u2026<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u2026 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0447\u0435\u0442\u044b\u0440\u0435 \u0436\u0438\u0440\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b:<\/p>\n<ol>\n<li>\n<p>\u041a\u0430\u043a \u0448\u0430\u0440\u0438\u0442\u044c \u043a\u043e\u0434\u043e\u0432\u0443\u044e \u0431\u0430\u0437\u0443 \u043c\u0435\u0436\u0434\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438?<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0440\u0435\u0431\u0440\u0435\u043d\u0434\u0438\u043d\u0433?<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0438?<\/p>\n<\/li>\n<li>\n<p>\u041a\u0430\u043a \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435?<\/p>\n<\/li>\n<\/ol>\n<p>\u0412 \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u044c!<\/p>\n<h3>2.1 \u0428\u0430\u0440\u0438\u043c \u043a\u043e\u0434<\/h3>\n<blockquote>\n<p>\u0417\u0430\u0434\u0430\u0447\u0430 \u2013 \u043e\u0434\u043d\u0430 \u043a\u043e\u0434\u043e\u0432\u0430\u044f \u0431\u0430\u0437\u0430, \u0434\u043e 100 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u2013 Gradle Product Flavors.<\/p>\n<\/blockquote>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0435\u0449\u0451 \u043d\u0435 \u0437\u043d\u0430\u043a\u043e\u043c\u044b \u0441 Gradle Product Flavors, \u0441\u043e\u0432\u0435\u0442\u0443\u044e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"https:\/\/developer.android.com\/studio\/build\/build-variants#product-flavors\" rel=\"noopener noreferrer nofollow\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e<\/a> \u0438\u043b\u0438 <a href=\"https:\/\/levelup.gitconnected.com\/simple-guide-to-android-product-flavors-674106455038\" rel=\"noopener noreferrer nofollow\">\u043e\u0431\u0449\u0438\u0435 \u0441\u0442\u0430\u0442\u044c\u0438<\/a>. \u0410 \u043c\u043e\u0436\u043d\u043e \u0438 \u0441\u0440\u0430\u0437\u0443 \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 White Label: <a href=\"https:\/\/proandroiddev.com\/android-flavours-white-labeling-an-app-46a17b8b27a4\" rel=\"noopener noreferrer nofollow\">\u043a\u0440\u0430\u0442\u043a\u043e<\/a> \u0438\u043b\u0438 \u0432 <a href=\"https:\/\/www.raywenderlich.com\/5175277-white-labeling-android-apps-getting-started#toc-anchor-001\" rel=\"noopener noreferrer nofollow\">\u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438<\/a><\/p>\n<p>\u0412 \u0434\u0432\u0443\u0445 \u0441\u043b\u043e\u0432\u0430\u0445, \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u00ab\u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b\u00bb \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041a\u0430\u0436\u0434\u044b\u0439 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0438\u0437\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043f\u0430\u043f\u043a\u0438 \u0441 \u043a\u043e\u0434\u043e\u043c \u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u0430\u043c\u0438, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044f \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043e\u0431\u0449\u0438\u043c \u0438\u0437 <code>main<\/code>.<\/p>\n<p><strong>\u0413\u043b\u0430\u0432\u043d\u043e\u0435 \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u043e<\/strong>. \u041e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0430 \u043f\u0435\u0440\u0435\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432, \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0441\u0431\u043e\u0440\u043a\u0438.<\/p>\n<p><strong>\u0413\u043b\u0430\u0432\u043d\u044b\u0439 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u043a<\/strong>. \u0415\u0441\u043b\u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0431\u043e\u043b\u044c\u0448\u0435 100, \u0442\u043e \u0432 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0430\u0445 \u0431\u0443\u0434\u0435\u0442 \u0442\u044f\u0436\u0435\u043b\u043e \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f. \u041d\u043e \u0443 \u043d\u0430\u0441 \u043c\u0435\u043d\u044c\u0448\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u043a.<\/p>\n<p>\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u044b, \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u043d\u0435\u0442 \u0441\u043c\u044b\u0441\u043b\u0430: \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043d\u0430\u0434\u0451\u0436\u043d\u043e\u0435, \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438.<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440 flavors<\/strong>. \u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u043d\u0430 \u0441\u0442\u0430\u0440\u0442\u0435 \u0434\u0435\u043b\u0430\u0435\u043c \u0434\u0432\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f:<\/p>\n<ol>\n<li>\n<p>\u00ab\u041b\u043e\u044f\u043a\u0430\u00bb \u2014 \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u0430\u044f \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f;<\/p>\n<\/li>\n<li>\n<p>\u00ab\u042e\u0432\u0435\u043b\u0438\u0440\u0438\u044f\u00bb \u2014 \u0441\u0435\u0442\u044c \u044e\u0432\u0435\u043b\u0438\u0440\u043d\u044b\u0445 \u043c\u0430\u0433\u0430\u0437\u0438\u043d\u043e\u0432.<\/p>\n<\/li>\n<\/ol>\n<p>\u041d\u0430\u0437\u043e\u0432\u0451\u043c flavors \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u2014 <code>loyaka<\/code> \u0438 <code>jewelry<\/code>. \u0421\u0440\u0430\u0437\u0443 \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c best practice \u2014 \u043a\u043e\u043d\u0444\u0438\u0433 \u043a\u0430\u0436\u0434\u043e\u0433\u043e flavor \u0432\u044b\u043d\u0435\u0441\u0435\u043c \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u0430\u0439\u043b\u0438\u043a. \u0417\u0430\u0447\u0435\u043c? \u0421\u0442\u0430\u043d\u0435\u0442 \u044f\u0441\u043d\u043e \u0447\u0443\u0442\u044c \u043f\u043e\u0437\u0436\u0435.<\/p>\n<p>\u041f\u043e\u043a\u0430 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c:<\/p>\n<ol>\n<li>\n<p>\u043f\u0430\u043f\u043a\u0443 <code>project_flavors<\/code>;<\/p>\n<\/li>\n<li>\n<p>\u0432 \u043d\u0435\u0439 \u2014 gradle-\u0441\u043a\u0440\u0438\u043f\u0442\u044b <code>flavor_loyaka.gradle<\/code>, <code>flavor_jewelry.gradle<\/code> \u0438 <code>flavors_common.gradle<\/code>;<\/p>\n<\/li>\n<li>\n<p>\u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u043c \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0432 <code>build.gradle<\/code> \u0443\u0440\u043e\u0432\u043d\u044f <code>app<\/code>.<\/p>\n<\/li>\n<\/ol>\n<p>\u0417\u0434\u0435\u0441\u044c \u0438 \u0434\u0430\u043b\u0435\u0435 \u043f\u0440\u0438\u0432\u043e\u0436\u0443 \u0441\u043e\u043a\u0440\u0430\u0449\u0451\u043d\u043d\u044b\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0438\u0437 <a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\" rel=\"noopener noreferrer nofollow\">\u0442\u0435\u0441\u0442\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043a \u0441\u0442\u0430\u0442\u044c\u0435<\/a>.<\/p>\n<p><a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/project_flavors\/flavor_loyaka.gradle\" rel=\"noopener noreferrer nofollow\"><strong>flavor_<em>loyaka.gradle<\/em><\/strong><\/a><\/p>\n<pre><code>apply from: \"$rootDir\/project_flavors\/flavors_common.gradle\"   android {     productFlavors {          loyaka {             dimension APP_DIMENSION              resValue \"string\", APP_NAME_VAR, '\u041b\u043e\u044f\u043a\u0430'             applicationId BASE_PACKAGE + 'loyaka'         }     } }<\/code><\/pre>\n<p><a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/project_flavors\/flavor_jewelry.gradle\" rel=\"noopener noreferrer nofollow\"><strong><em>flavor_<\/em>jewelry.gradle<\/strong><\/a><\/p>\n<pre><code>apply from: \"$rootDir\/project_flavors\/flavors_common.gradle\"   android {     productFlavors {          jewerly {             dimension APP_DIMENSION              resValue \"string\", APP_NAME_VAR, '\u042e\u0432\u0435\u043b\u0438\u0440\u0438\u044f'             applicationId BASE_PACKAGE + 'jewelry'         }     } }<\/code><\/pre>\n<p><a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/project_flavors\/flavors_common.gradle\" rel=\"noopener noreferrer nofollow\"><strong>flavors_common.gradle<\/strong><\/a><\/p>\n<pre><code>android {     ext.DIMENSION_APP = \"app\"     ext.APP_NAME_VAR = \"app_name\"     ext.BASE_PACKAGE = \"com.livetyping.\" }<\/code><\/pre>\n<p>\u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u043c flavors \u2014 \u0432 <a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/app\/build.gradle\" rel=\"noopener noreferrer nofollow\"><strong>build.gradle<\/strong><\/a> \u0443\u0440\u043e\u0432\u043d\u044f <code>app<\/code>:<\/p>\n<pre><code>... apply from: \"$rootDir\/project_flavors\/flavor_loyaka.gradle\" apply from: \"$rootDir\/project_flavors\/flavor_jewelry.gradle\" apply from: \"$rootDir\/project_flavors\/flavors_common.gradle\"  android {     ...     flavorDimensions APP_DIMENSION } ...<\/code><\/pre>\n<h3>2.2 \u041f\u0435\u0440\u0435\u043a\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u043c<\/h3>\n<h4>2.2.1 \u041a\u043e\u043d\u0446\u0435\u043f\u0442<\/h4>\n<p>\u0423 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441\u0432\u043e\u0439 \u0431\u0440\u0435\u043d\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u0437:<\/p>\n<ul>\n<li>\n<p>\u0446\u0432\u0435\u0442\u043e\u0432\u043e\u0439 \u0441\u0445\u0435\u043c\u044b;<\/p>\n<\/li>\n<li>\n<p>\u0448\u0440\u0438\u0444\u0442\u043e\u0432, \u043a\u0430\u0440\u0442\u0438\u043d\u043e\u043a, \u0441\u0442\u0440\u043e\u043a;<\/p>\n<\/li>\n<li>\n<p>\u0437\u0430\u0448\u0438\u0442\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 (\u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0439, \u0441\u0441\u044b\u043b\u043e\u043a \u0432 \u0441\u043e\u0446. \u0441\u0435\u0442\u0438).<\/p>\n<\/li>\n<\/ul>\n<p>\u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f flavors \u0442\u043e\u0436\u0435 \u0440\u0435\u0448\u0438\u043c \u0437\u0430\u0434\u0430\u0447\u0443 \u043f\u0440\u043e\u0441\u0442\u043e. \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u043c \u0432 \u0433\u043e\u043b\u043e\u0432\u0443 3 \u0444\u0430\u043a\u0442\u0430:<\/p>\n<ol>\n<li>\n<p>\u043e\u0431\u0449\u0438\u0435 \u043a\u043e\u0434 \u0438 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043b\u0435\u0436\u0430\u0442 \u0432 \u043f\u0430\u043f\u043a\u0435 <code>main<\/code>;<\/p>\n<\/li>\n<li>\n<p>\u0434\u043b\u044f gradle <code>main<\/code> \u044d\u0442\u043e \u043a\u0430\u043a \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 flavor;<\/p>\n<\/li>\n<li>\n<p>\u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e flavor \u0441\u0432\u043e\u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0431\u0449\u0438\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043b\u0435\u0436\u0430\u0442 \u0432 <code>main\/res<\/code>, \u0430 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0435 \u0434\u043b\u044f \u0444\u043b\u044d\u0439\u0432\u043e\u0440\u0430 <code>loyaka<\/code> \u0432 <code>loyaka\/res<\/code>;<\/p>\n<\/li>\n<\/ol>\n<p>\u0427\u0442\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0434\u0451\u0442, \u0435\u0441\u043b\u0438 \u0432 <code>main\/res<\/code> \u0438 <code>loyaka\/res<\/code> \u0431\u0443\u0434\u0443\u0442 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u0441 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c <code>animal.webp<\/code>? \u0412\u043e\u0437\u043d\u0438\u043a\u043d\u0435\u0442 \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442, \u0438 \u0447\u0442\u043e\u0431\u044b \u0440\u0435\u0448\u0438\u0442\u044c \u0435\u0433\u043e, Gradle <strong>\u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442<\/strong> \u0431\u0430\u0437\u043e\u0432\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u043c\u0438. \u0415\u0441\u043b\u0438 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0434\u0438\u0430\u0433\u0440\u0430\u043c\u043c\u0430:<\/p>\n<figure class=\"full-width\"><figcaption>\u0421\u043b\u0435\u0432\u0430 \u2014 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u043f\u043e flavor; \u0441\u043f\u0440\u0430\u0432\u0430 \u2014 \u0438\u0442\u043e\u0433\u043e\u0432\u044b\u0439 APK.<\/figcaption><\/figure>\n<p>\u0417\u0430\u0434\u0430\u0447\u0430 \u0440\u0435\u0448\u0435\u043d\u0430! \u0423\u0431\u0435\u0440\u0451\u043c \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0432 <code>main<\/code>, \u0430 \u0432 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0445 flavor \u0431\u0443\u0434\u0435\u043c \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c \u043f\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438.<\/p>\n<h4>2.2.2 Best practices<\/h4>\n<p>\u041a\u0440\u0430\u0439\u043d\u0435 \u0432\u0430\u0436\u043d\u043e <strong>\u0437\u0430\u0440\u0430\u043d\u0435\u0435 \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c\u0441\u044f \u0441 \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440\u0430\u043c\u0438<\/strong>:<\/p>\n<ul>\n<li>\n<p>\u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e \u2014 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u043f\u0440\u044f\u043c\u0438\u043a\u043e\u043c \u0438\u0437 \u0434\u0438\u0437\u0430\u0439\u043d\u0430;<\/p>\n<\/li>\n<li>\n<p>\u0442\u0435\u043c\u0443 \u0437\u0430\u0434\u0430\u0451\u043c \u0447\u0451\u0442\u043a\u0438\u043c \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u0446\u0432\u0435\u0442\u043e\u0432 \u2014 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043a\u0440\u0430\u0448\u0438\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c <code>colors.xml<\/code> \u0432 \u043d\u043e\u0432\u044b\u0439 flavor \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u0435\u043d\u044f\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f.<\/p>\n<\/li>\n<\/ul>\n<p>\u0418, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0441\u043e\u0431\u043b\u044e\u0434\u0430\u0435\u043c \u0434\u043e\u0433\u043e\u0432\u043e\u0440\u0451\u043d\u043d\u043e\u0441\u0442\u0438, \u0432\u0435\u0434\u044c \u0432\u043f\u0435\u0440\u0435\u0434\u0438 \u0436\u0434\u0443\u0442 \u0438\u0441\u043f\u044b\u0442\u0430\u043d\u0438\u044f. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u044b \u0441\u0440\u0430\u0437\u0443 \u0440\u0435\u0448\u0438\u043b\u0438, \u0447\u0442\u043e \u0437\u0430\u0434\u0430\u0451\u043c \u0441\u0442\u0440\u043e\u0433\u0438\u0439 \u043d\u0430\u0431\u043e\u0440 \u0446\u0432\u0435\u0442\u043e\u0432. \u041e\u0434\u043d\u0430\u043a\u043e \u0432 \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u0446\u0432\u0435\u0442\u0430 \u043d\u0435 \u0441\u043e\u0448\u043b\u0438\u0441\u044c \u2014 \u0447\u0430\u0441\u0442\u044c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0446\u0432\u0435\u0442\u0430 <code>primary<\/code> \u0432 \u043d\u043e\u0432\u043e\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u0435 \u0441\u0442\u0430\u043b\u0438 <code>accent<\/code>. \u0421\u0440\u0430\u0437\u0443 \u043e\u0431\u0441\u0443\u0434\u0438\u043b\u0438 \u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438 \u0434\u0438\u0437\u0430\u0439\u043d, \u0430 \u0432\u0435\u0434\u044c \u043c\u043e\u0433\u043b\u0438 \u0431\u044b \u0438 \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u0441\u0442\u044b\u043b\u044c.<\/p>\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e <strong>\u043a\u043e\u0441\u0442\u044b\u043b\u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043d\u0430 100 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439!<\/strong> \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435, \u0447\u0442\u043e \u0434\u0438\u0437\u0430\u0439\u043d \u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438, \u0430 \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0432\u0432\u0435\u043b\u0438 \u043d\u043e\u0432\u044b\u0439 \u0446\u0432\u0435\u0442 \u0432 \u043e\u0431\u0449\u0435\u0439 \u0442\u0435\u043c\u0435. \u041f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043d\u043e\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0430 \u0442\u0430\u043c \u043e\u043f\u044f\u0442\u044c \u043d\u0435\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435: \u0432\u0432\u043e\u0434\u0438\u043c \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0446\u0432\u0435\u0442, \u0438\u0442\u043e\u0433 \u2014 \u0442\u0435\u043c\u0430 \u043d\u0430 \u0441\u043e\u0442\u043d\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0438 \u043f\u0440\u043e\u0435\u043a\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u044f\u0436\u0435\u043b\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c.<\/p>\n<blockquote>\n<p>\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u0447\u0451\u0442\u043a\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0434\u0435\u0448\u0435\u0432\u043b\u0435, \u0447\u0435\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0442\u044c \u043a\u043e\u0434, \u0441\u043e\u0441\u0442\u043e\u044f\u0449\u0438\u0439 \u0438\u0437 \u00ab\u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0445\u00bb \u043a\u043e\u0441\u044f\u043a\u043e\u0432.<\/p>\n<\/blockquote>\n<h4>2.2.3 \u041f\u0440\u0438\u043c\u0435\u0440 \u0441\u0445\u0435\u043c\u044b \u0446\u0432\u0435\u0442\u043e\u0432<\/h4>\n<p>\u0417\u0430\u0434\u0430\u0451\u043c \u0446\u0432\u0435\u0442\u0430 \u0431\u0440\u0435\u043d\u0434\u0430 \u0432 \u0444\u0430\u0439\u043b\u0435 <code>project_styleguide.xml<\/code>:<\/p>\n<ul>\n<li>\n<p>\u0434\u043b\u044f \u00ab\u041b\u043e\u044f\u043a\u0438\u00bb \u2014 <a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/app\/src\/loyaka\/res\/values\/project_styleguide.xml\" rel=\"noopener noreferrer nofollow\"><strong>loyaka\/res\/values\/project_<em>styleguide.xml<\/em><\/strong><\/a><em>:<\/em><\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"xml\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt; &lt;resources&gt;     &lt;color name=\"active\"&gt;#68b881&lt;\/color&gt;     &lt;color name=\"background\"&gt;#36363f&lt;\/color&gt;     &lt;color name=\"disabled\"&gt;#daede0&lt;\/color&gt;     &lt;color name=\"field_dark\"&gt;#f5f5f5&lt;\/color&gt;     ... &lt;\/resources<\/code><\/pre>\n<ul>\n<li>\n<p>\u0434\u043b\u044f \u00ab\u042e\u0432\u0435\u043b\u0438\u0440\u0438\u0438\u00bb \u2014 <a href=\"https:\/\/github.com\/KeyStarr\/AndroidWhiteLabelExample\/blob\/master\/app\/src\/jewelry\/res\/values\/project_styleguide.xml\" rel=\"noopener noreferrer nofollow\"><strong>jewelry\/res\/values\/project_styleguide.xml<\/strong><\/a>:<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"xml\">&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt; &lt;resources&gt;     &lt;color name=\"active\"&gt;#a160d5&lt;\/color&gt;     &lt;color name=\"background\"&gt;#f6ebff&lt;\/color&gt;     &lt;color name=\"disabled\"&gt;#e2c8f6&lt;\/color&gt;     &lt;color name=\"field_dark\"&gt;#f5f5f5&lt;\/color&gt;     ... &lt;\/resources&gt;<\/code><\/pre>\n<h3>2.3 \u0417\u0430\u0434\u0430\u0451\u043c \u043a\u043e\u043d\u0444\u0438\u0433<\/h3>\n<h4>2.3.1 \u041a\u043e\u043d\u0446\u0435\u043f\u0442<\/h4>\n<p>\u0424\u0438\u0447\u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043d\u0430 \u0434\u0432\u0443\u0445 \u0443\u0440\u043e\u0432\u043d\u044f\u0445:<\/p>\n<ol>\n<li>\n<p>\u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043d\u0435\u043d\u0443\u0436\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438;<\/p>\n<\/li>\n<li>\n<p>\u043c\u0435\u043d\u044f\u0435\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u0430\u043c\u0438\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439.<\/p>\n<\/li>\n<\/ol>\n<p>\u041d\u0430\u0447\u043d\u0451\u043c \u0441 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0437\u0430\u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0432 \u0442\u0438\u043f\u043e\u0432\u043e\u0439 \u0444\u043e\u0440\u043c\u0435 \u0438 \u043f\u043e\u0448\u0430\u0440\u0438\u043c \u043d\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0443. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0430: \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442 \u0441 \u043a\u043b\u0438\u0435\u043d\u0442\u0430 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u043f\u0440\u0438\u0441\u044b\u043b\u0430\u0435\u0442 \u0444\u043e\u0440\u043c\u0443. \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443 \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u043c\u0435\u0445\u0430\u043d\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u0435\u0451 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433.<\/p>\n<p>\u0423\u043f\u0440\u043e\u0449\u0451\u043d\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043e\u043a\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442 \u00ab\u043c\u043e\u0434\u0443\u043b\u044c-\u0444\u0438\u0447\u0430-\u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b\u00bb:<\/p>\n<ol>\n<li>\n<p><strong>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438<\/strong>: <\/p>\n<ul>\n<li>\n<p>\u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u044c;<\/p>\n<\/li>\n<li>\n<p>\u043d\u043e\u0432\u043e\u0441\u0442\u0438;<\/p>\n<\/li>\n<li>\n<p>\u2026<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u0410\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f<\/strong>: <\/p>\n<ul>\n<li>\n<p>\u043b\u043e\u0433\u0438\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f: \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0438\u043b\u0438 email;<\/p>\n<\/li>\n<li>\n<p>\u043c\u0430\u0441\u043a\u0430 \u043b\u043e\u0433\u0438\u043d\u0430.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u041a\u0430\u0440\u0442\u0430 \u043b\u043e\u044f\u043b\u044c\u043d\u043e\u0441\u0442\u0438<\/strong>: <\/p>\n<ul>\n<li>\n<p>\u0442\u0438\u043f \u0448\u0442\u0440\u0438\u0445-\u043a\u043e\u0434\u0430: EAN-8, EAN-13, CODE-128.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u2026<\/p>\n<\/li>\n<\/ol>\n<h4>2.3.2 \u041f\u0443\u0442\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f<\/h4>\n<p>\u041a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0444\u0438\u0433? \u0421\u0430\u043c\u043e \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043c \u0442\u0430\u043a:<\/p>\n<ol>\n<li>\n<p><strong>\u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0440\u0430\u0431\u043e\u0442\u044b<\/strong> \u2013 \u00ab\u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0430\u00bb \u0447\u0442\u0435\u043d\u0438\u044f, \u00ab\u043f\u0440\u043e\u0441\u0442\u043e\u0442\u0430\u00bb \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f (\u0432 \u0438\u0434\u0435\u0430\u043b\u0435, \u0445\u043e\u0442\u0438\u043c DSL);<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438<\/strong> \u2013 \u0432\u0430\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u0447\u0442\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0444\u0438\u0433\u0430 \u043d\u0435 \u0442\u043e\u0440\u043c\u043e\u0437\u0438\u043b\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435.<\/p>\n<\/li>\n<\/ol>\n<p>\u0412\u044b\u0434\u0435\u043b\u0438\u043c \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u0443\u0442\u0438:<\/p>\n<ol>\n<li>\n<p><a href=\"https:\/\/developer.android.com\/studio\/build\/gradle-tips#simplify-app-development\" rel=\"noopener noreferrer nofollow\">Gradle <\/a><code>buildConfigField<\/code> <\/p>\n<ul>\n<li>\n<p>\u0437\u0430\u0434\u0430\u0451\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0432 gradle \u0441\u043a\u0440\u0438\u043f\u0442\u0435;<\/p>\n<\/li>\n<li>\n<p>\u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0433\u0435\u043d\u0435\u0440\u0438\u0442\u0441\u044f java \u043a\u043b\u0430\u0441\u0441 <code>BuildConfig<\/code>, \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u043a\u0430\u043a \u0435\u0433\u043e \u043f\u043e\u043b\u044f.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>JSON <\/p>\n<ul>\n<li>\n<p>json \u043e\u0431\u044a\u0435\u043a\u0442 \u0432 \u0444\u0430\u0439\u043b\u0435;<\/p>\n<\/li>\n<li>\n<p>\u0437\u0430\u0448\u0438\u0442 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e, \u043b\u0438\u0431\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p>\u041a\u0440\u0430\u0442\u043a\u043e \u043e\u0446\u0435\u043d\u0438\u043c \u043f\u0443\u0442\u0438 \u043f\u043e \u043a\u0440\u0438\u0442\u0435\u0440\u0438\u044f\u043c.<\/p>\n<h4>2.3.3 \u041f\u0443\u0442\u044c \u21161. Gradle buildConfigField<\/h4>\n<p>\u041f\u043b\u044e\u0441\u044b:<\/p>\n<ul>\n<li>\n<p><strong>\u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f<\/strong><\/p>\n<\/li>\n<\/ul>\n<\/div>\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-317604","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/317604","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=317604"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/317604\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=317604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=317604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=317604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}