{"id":19198,"date":"2024-11-27T10:56:35","date_gmt":"2024-11-27T05:26:35","guid":{"rendered":"https:\/\/razorpay.com\/blog\/?p=19198"},"modified":"2024-11-27T11:19:34","modified_gmt":"2024-11-27T05:49:34","slug":"auto-update-for-razorpays-native-android-sdks","status":"publish","type":"post","link":"https:\/\/razorpay.com\/blog\/auto-update-for-razorpays-native-android-sdks\/","title":{"rendered":"Introducing Auto-Update for Razorpay\u2019s Native Android SDKs"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Managing SDK updates just got a whole lot easier. Starting with <\/span><b>Android SDK version 1.6.40 [Standard Checkout] and 3.9.22 [Custom Checkout] and above<\/b><span style=\"font-weight: 400;\">, Razorpay\u2019s new auto-update feature ensures that your Razorpay payment integration will always stay current, giving you and your customers access to the latest checkout features and improvements with minimal effort.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Why Auto-Update?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">We understand that businesses and their customers are often unable to utilize the latest features on checkout due to outdated SDK versions. Updating SDKs can feel like a hassle, but it\u2019s essential to ensure optimal performance, compliance, and access to new features. Recognizing this, we\u2019ve introduced a mechanism that allows the Razorpay SDK to automatically fetch the latest version during your app build process\u2014reducing manual effort and ensuring you\u2019re always up to date.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">How It Works<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">The auto-update feature ensures that businesses using our SDK always have the latest version without needing manual intervention. This is achieved by leveraging Gradle, the build tool for Android applications.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To enable this feature, your Gradle file should include the following line:<\/span><\/p>\n<p><span style=\"font-weight: 400; color: #339966;\">implementation &#8220;com.razorpay:checkout:1.6.40&#8221;<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Using Gradle and Maven in tandem, the Razorpay SDK fetches the latest updates internally during your app&#8217;s build process whenever you sync your project. This ensures you remain future-ready without manually tracking SDK versions.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">What This Means for You<\/span><\/h2>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>One-Time Integration:<\/b><span style=\"font-weight: 400;\"> After updating to the latest version (1.6.40 or above), the SDK will stay up to date automatically.\u00a0<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Stay Secure and Fast:<\/b><span style=\"font-weight: 400;\"> Benefit from the latest performance improvements and security enhancements as soon as they\u2019re available.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Simpler Compliance:<\/b><span style=\"font-weight: 400;\"> Meet evolving requirements without worrying about version mismatches.<\/span><\/li>\n<\/ol>\n<h2><span style=\"font-weight: 400;\">Getting Started with Auto-Update<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">To take full advantage of the auto-update feature, we request businesses to upgrade to Android SDK version 1.6.40 [Standard Checkout] and 3.9.22 [Custom Checkout] or above. Once this one-time upgrade is completed, the auto-update feature will automatically keep your SDK current in future updates, saving you time and effort.\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/razorpay.com\/docs\/payments\/payment-gateway\/android-integration\/standard\/troubleshooting-faqs\/#6-how-can-i-update-the-razorpay-android\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">Click here<\/span><\/a><span style=\"font-weight: 400;\"> to upgrade your Razorpay SDK and get started.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Final Note<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">With the auto-update feature, managing SDKs is no longer a chore. You can now focus entirely on growing your business while staying seamlessly connected to Razorpay\u2019s ecosystem.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For any questions or support, <\/span><a href=\"https:\/\/razorpay.com\/support\/\" target=\"_blank\" rel=\"noopener\"><span style=\"font-weight: 400;\">feel free to reach out to us<\/span><\/a><span style=\"font-weight: 400;\">. Let\u2019s keep your payments seamless and future-ready!<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Upgrade to Razorpay Android SDK 1.6.40+ and enable auto-update for seamless checkout, faster updates, and better compliance. <\/p>\n","protected":false},"author":87,"featured_media":19199,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[26],"tags":[638,51],"class_list":{"0":"post-19198","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-payments","8":"tag-magic-checkout-product-updates","9":"tag-payments"},"_links":{"self":[{"href":"https:\/\/razorpay.com\/blog\/wp-json\/wp\/v2\/posts\/19198","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/razorpay.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/razorpay.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/razorpay.com\/blog\/wp-json\/wp\/v2\/users\/87"}],"replies":[{"embeddable":true,"href":"https:\/\/razorpay.com\/blog\/wp-json\/wp\/v2\/comments?post=19198"}],"version-history":[{"count":2,"href":"https:\/\/razorpay.com\/blog\/wp-json\/wp\/v2\/posts\/19198\/revisions"}],"predecessor-version":[{"id":19201,"href":"https:\/\/razorpay.com\/blog\/wp-json\/wp\/v2\/posts\/19198\/revisions\/19201"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/razorpay.com\/blog\/wp-json\/wp\/v2\/media\/19199"}],"wp:attachment":[{"href":"https:\/\/razorpay.com\/blog\/wp-json\/wp\/v2\/media?parent=19198"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/razorpay.com\/blog\/wp-json\/wp\/v2\/categories?post=19198"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/razorpay.com\/blog\/wp-json\/wp\/v2\/tags?post=19198"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}