<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by yogesh rewani on Medium]]></title>
        <description><![CDATA[Stories by yogesh rewani on Medium]]></description>
        <link>https://medium.com/@yogeshrewani?source=rss-98299492e51b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*v0Br7MX0YU0AZmiT</url>
            <title>Stories by yogesh rewani on Medium</title>
            <link>https://medium.com/@yogeshrewani?source=rss-98299492e51b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 20:17:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yogeshrewani/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Google Maps Platform Launch in India Migrate your existing billing account by January 18, 2020]]></title>
            <link>https://medium.com/@yogeshrewani/google-maps-platform-launch-in-india-migrate-your-existing-billing-account-by-january-18-2020-5f622a5c5d82?source=rss-98299492e51b------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f622a5c5d82</guid>
            <category><![CDATA[google-cloud-platform]]></category>
            <category><![CDATA[google-places-api]]></category>
            <category><![CDATA[google-updates]]></category>
            <category><![CDATA[information-update]]></category>
            <category><![CDATA[google-map-api]]></category>
            <dc:creator><![CDATA[yogesh rewani]]></dc:creator>
            <pubDate>Sat, 21 Dec 2019 16:22:02 GMT</pubDate>
            <atom:updated>2019-12-21T16:23:00.124Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*3Xd1od-310Kx9pLjOWuvUA.png" /></figure><p>As per new update By Google on November 18, 2019 , Google Maps Platform Launch in India for this there is need to <strong>Migrate Google Project</strong> as per this new updates , <strong>Reason to Migrate existing billing Account</strong> is that before this generally Google projects where in category in <strong>Cloud Platform</strong> and for this billing account base to <strong>INR .</strong></p><p>With <strong>Google Maps Platform </strong>billing account will be Based to <strong>USD Automatically .</strong></p><h4>What happens if I don’t create a new billing account for Maps?</h4><ul><li>If you don’t create a billing account for Maps by November 18, you will not benefit from two months transition credits to help you adjust to our new pricing plan.</li><li>If you don’t create a billing account for Maps by January 18, your Maps usage will start to fail. Google Cloud Platform usage will not be impacted.</li></ul><h3>To create a new billing account:</h3><ol><li>Go to the <a href="https://cloud.google.com/console/google/maps-apis/overview">Google Cloud Platform Console</a>.</li><li>Open the left-side menu and select <strong>Billing</strong>.</li><li>Click the name of your existing billing account near the top of the page, and then click <strong>Manage billing accounts</strong>.</li><li>Click <strong>Create Account</strong>.</li><li>Enter the name of the billing account.</li><li>Choose which business the billing account will pay for (in this case Google Maps Platform).</li><li>Click <strong>Submit and enable billing</strong>.</li></ol><p>By default, the person who creates the billing account is a billing administrator for the account. Also, note that Google Maps Platformusage is billed in USD.</p><h3>Steps to Migrate with Existing Project:</h3><ol><li>Go to the <a href="https://cloud.google.com/console/google/maps-apis/overview">Google Cloud Platform Console</a>.</li><li>Open the left-side menu and select <strong>Billing</strong>.</li><li>If you have more than one billing account, you’ll be prompted to select the linked billing account to manage the current project’s billing.</li><li>Under <strong>Projects linked to this billing account</strong>, locate the name of the project that you want to change billing for, and then click the menu next to it.</li><li>Select <strong>Disable Billing account</strong>.</li><li>Once the billing account has been disabled, click the menu next to it and select <strong>Change billing account</strong>.</li><li>Choose the desired destination billing account.</li><li>Click <strong>Set account</strong>.</li></ol><h3>Now Question Arrives is it free ?</h3><p>Maps, Routes, and Places products are still with the <strong>$200 monthly free credit </strong>which means its still free for use until your credit of use exceed $200</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f622a5c5d82" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Remove LOG messages after Release in Android]]></title>
            <link>https://medium.com/@yogeshrewani/remove-log-messages-after-release-in-android-b155c0c8f222?source=rss-98299492e51b------2</link>
            <guid isPermaLink="false">https://medium.com/p/b155c0c8f222</guid>
            <category><![CDATA[apkrelease]]></category>
            <category><![CDATA[hide-debug]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[remove-log-from-release]]></category>
            <dc:creator><![CDATA[yogesh rewani]]></dc:creator>
            <pubDate>Wed, 27 Nov 2019 19:01:04 GMT</pubDate>
            <atom:updated>2019-11-27T19:01:04.970Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*5VVGpE9iivU7MzjO3sl7Ew.jpeg" /></figure><p>In every Development language best practice is to <strong>logging and testing</strong> but that also continue with Problems regards to <strong>Debugged </strong>data which also contains Private data</p><blockquote>In Android App Development after development and in generating Release .apk Developers have to make sure that Data leakage of Private data and In this mostly chance of data leak is from Debug .</blockquote><h3>Generally to restrict logging/Debug data its after changing Project flavor to Release</h3><p>lets just recap of best practice to Create Release .apk</p><ul><li>Go to Build&gt;Generate Signed APK&gt;Follow the simple steps after that and Don’t forget to select <strong>Signature Versions of V1 and V2</strong></li><li>Go to file &gt; Project Structure &gt;In modules &gt;in signing config &gt; <strong>+ </strong>button&gt;give name <strong>config </strong>&gt;give jks location,password,alias,key password &gt;Apply</li><li>Go to file &gt; project structure &gt;In modules&gt; Default Config &gt;in Signing config Select “<strong>config</strong>”</li><li>Go to file &gt; project structure &gt; in Build Variant &gt; Select release &gt;in Signing config Select “Config” &gt; Select Debuggable to <strong>false</strong></li><li>In Left side “Build Variant” &gt;in module <strong>app </strong>Select “<strong>Release</strong>”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E0cpcl91iF5J97ij28Eoow.jpeg" /></figure><h3>Steps to Remove Log / Debug Data</h3><ul><li>In <strong>Project </strong>find <strong>proguard-rules.pro</strong> (In app) and Paste the following code</li></ul><pre>-assumenosideeffects class android.util.Log {</pre><pre>public static boolean isLoggable(java.lang.String, int);</pre><pre>public static int d(...);</pre><pre>public static int w(...);</pre><pre>public static int v(...);</pre><pre>public static int i(...);</pre><pre>public static int e(...);</pre><pre>}</pre><pre>-ignorewarnings</pre><pre>-keep class * {</pre><pre>public private *;</pre><pre>}</pre><ul><li>In <strong>Build.gradle change the following code</strong></li></ul><pre>buildTypes {</pre><pre>release {</pre><pre>minifyEnabled true</pre><pre>debuggable false</pre><pre>proguardFiles getDefaultProguardFile(&#39;proguard-android-optimize.txt&#39;), &#39;proguard-rules.pro&#39;</pre><pre>signingConfig signingConfigs.config</pre><pre>}</pre><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fc4rB7DMXKgktG%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fc4rB7DMXKgktG%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2Fc4rB7DMXKgktG%2Fgiphy.gif&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="240" frameborder="0" scrolling="no"><a href="https://medium.com/media/71568c28a8fcfbc4d015dc269fab9e55/href">https://medium.com/media/71568c28a8fcfbc4d015dc269fab9e55/href</a></iframe><blockquote><strong><em>Well Done Bravo! Its done</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b155c0c8f222" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google Warns that All New Android Apps Require Three Days for Approval | 3 Big News of Google Play…]]></title>
            <link>https://medium.com/@yogeshrewani/google-warns-that-all-new-android-apps-require-three-days-for-approval-3-big-news-of-google-play-112a2a9005d?source=rss-98299492e51b------2</link>
            <guid isPermaLink="false">https://medium.com/p/112a2a9005d</guid>
            <category><![CDATA[androiddev]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[google-developer]]></category>
            <category><![CDATA[play-store]]></category>
            <dc:creator><![CDATA[yogesh rewani]]></dc:creator>
            <pubDate>Sat, 21 Sep 2019 17:12:09 GMT</pubDate>
            <atom:updated>2019-09-21T17:27:12.418Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Google Warns that All New Android Apps Require Three Days for Approval | 3 Big News of Google Play Store</strong></h3><ul><li><strong><em>Google warns that all new android apps require three days of approval “Atleast”</em></strong></li><li><strong><em>Parent policy to make Google safer for kids</em></strong></li><li><strong><em>Deadline for developers to upload a square icon for the Play Store listing</em></strong></li></ul><blockquote><strong><em>Google warns that all new android apps require three days of approval “Atleast”</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*TOqLmD0emxJDSKzoAvaX_A.png" /></figure><p>In conversation with Google Play Store developer support today, they confirmed to me that all new Android apps now require at least three days for approval.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*b31hiO4ynbDLRrXWEFF4aQ.png" /></figure><p>After the story received some attention on <a href="https://www.reddit.com/r/androiddev/comments/cqug6u/google_warns_developers_that_all_new_android_apps/">reddit</a> and <a href="https://news.ycombinator.com/item?id=20708598">Hacker News</a>, a member of the Google Developer Relations team <a href="https://www.reddit.com/r/androiddev/comments/cqug6u/google_warns_developers_that_all_new_android_apps/ex40krh/">stepped in to clarify some of the details</a>. Between his comments and accounts from numerous commenters, these appear to be the facts:</p><ul><li>Google is now reviewing all apps and updates before they are published. <em>(There was some confusion about whether updates are reviewed, but numerous developers confirmed they’ve seen their own updates delayed for multiple days.)</em></li><li>All developers go through reviews, but established high-traffic developers will often get faster approvals. App updates are usually approved faster than new apps.</li><li>There is no way to expedite (speed up) the review process.</li><li>Updates can be scheduled, but scheduling the launch of new apps requires an awkward workaround.</li><li>No notice was given to developers warning of a potential multi-day approval process until they attempt to publish..</li></ul><h4>“[Update: Delays may exceed 7 days] Google Play Store silently extends app review to all submissions, fails to inform developers”</h4><blockquote><strong><em>Parent policy to make Google safer for kids</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*c2I3fm6yFFZS-wQkKocXRA.png" /></figure><p>Google announced an important series of changes that apply to every single app in the Google Play Store in an attempt to make the marketplace more kid-friendly.</p><p>The changes govern aspects of app development like how developers handle personal data and what demographics the developer chooses to target. Regarding the latter, developers are now being required to disclose whether kids are part of the intended audience for their app.</p><p>If they’re not the intended audience, the developer still has to take steps to make sure they don’t allow their app to appeal to children anyway. Google says it will also be keeping a closer eye on apps with these new requirements in mind.</p><p>“Over the last few years, we’ve helped parents find family-friendly content through the Designed for Families program and empowered them to set digital ground rules for their families with <a href="https://families.google.com/familylink/">Family Link</a> parental controls,” Google’s blog post explains. “After taking input from users and developers we are evolving our Google Play policies to provide additional protections for children and families.”</p><p>If children are regarded as part of the developer’s target audience for the app, that developer must now meet <a href="https://play.google.com/about/families/">policy requirements</a> in the app that govern content and the handling of personally identifiable information.</p><p>Ads in the app that are served to children, Google says, also need to be “appropriate” and served from an<a href="https://support.google.com/googleplay/android-developer/answer/9283445"> ads network that has certified compliance</a> “with our families policies.”</p><p>Google stresses in the blog post that the changes affect every developer on the Play Store. As such, there are two important dates to bear in mind relative to these changes:</p><ul><li><strong>Today</strong>: All new apps must comply with these updated policies related to children from today onward.</li><li><strong>September 1</strong>: This is the date by which developers have to have made any necessary updates to existing apps. Google is giving developers a little more than three months to fill out a new target audience and content section of the <a href="https://play.google.com/apps/publish">Google Play Console</a>.</li></ul><blockquote><strong><em>Deadline for developers to upload a square icon for the Play Store listing</em></strong></blockquote><p>In a recent announcement, Google said that developers must now update the icons associated with their apps. To ensure consistency in the appearance of the Play Store icons, each icon will be shaped like a squircle and this uniformity, says Google, should help users to focus on the graphic elements of the artwork instead of being distracted by the shape of the icon. Disparate icons lead to alignment issues which may be caused by the random spacing to present information about pricing or rating.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ayxRCy0k-A8Upqc3.jpg" /><figcaption>From left to right: Old icons, new squircle-shaped icon, and legacy icon for apps which do not get updated</figcaption></figure><p>To ensure that app icons follow the guidelines laid down by Google Play Store, developers must upload square icons. While processing, the corners of these icons will be dynamically rounded and a drop shadow will be added automatically. Google insists that developers must no longer upload icons with transparent backgrounds and ensure that the principal artwork is placed in the center.</p><p>These efforts are aimed at ensuring that developers assist Google in rendering a minimal appearance of the Google Play Store, in harmony with the Material Theme elements. Starting April, developers will be able to upload new icons complying with the latest specifications in their Play Console.</p><p>By May, developers will no longer be able to upload new icons which do not match the specifications, even though older icons will continue to remain unchanged. However, by June 24, developers must upload new icons unless they wish for their app icons to be brusquely morphed into squircle-shaped “legacy” icons.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=112a2a9005d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Integrate Google AdMob in Android]]></title>
            <link>https://medium.com/@yogeshrewani/how-to-integrate-google-admob-in-android-1e27f941fdac?source=rss-98299492e51b------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e27f941fdac</guid>
            <category><![CDATA[admob]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[earn-money-online]]></category>
            <category><![CDATA[integrate-google-admob]]></category>
            <category><![CDATA[earn-from-ads]]></category>
            <dc:creator><![CDATA[yogesh rewani]]></dc:creator>
            <pubDate>Thu, 11 Jul 2019 20:50:22 GMT</pubDate>
            <atom:updated>2019-07-12T05:57:15.745Z</atom:updated>
            <content:encoded><![CDATA[<p>Most question of learners are how to earn from Application development.Is this from application downloads? Answer is no Its from Advertisement banner</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*2Mg8-Pz9Xylcaz1FP3rLJg.jpeg" /></figure><blockquote>Types of Ads in AdMob</blockquote><ul><li><strong>Banner </strong>: <em>Rectangular ads that occupy a portion of an app’s layout; can be refreshed automatically after a period of time.</em></li><li><strong>Interstitial : </strong><em>Full-page ad format that appears at natural breaks and transitions, such as level completion.</em></li><li><strong>Rewarded </strong>: <em>Ad format that rewards users for watching ads. Great for monetizing free-to-play users.</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*lo-WPsE12d-S1_fMLfOwKw.png" /></figure><blockquote><em>Banner Ads</em></blockquote><ul><li><strong><em>Create a new project in Android Studio</em></strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*JLOkqpG8hEFrxV5iD7vzLw.png" /></figure><p><strong>Build.gradle and add play services dependency as AdMob requires it.</strong></p><p>dependencies {<br> implementation &#39;com.android.support:appcompat-v7:27.1.1&#39;<br> implementation &#39;com.google.android.gms:play-services-ads:11.8.0&#39;<br> implementation &#39;com.android.support:design:27.1.1&#39;<br> implementation &#39;com.github.bumptech.glide:glide:4.7.1&#39;<br>}</p><h3><em>Get Your Banner Ads id</em></h3><blockquote>Signup on Admob and follow the steps</blockquote><ul><li><em>Select Banner</em></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/299/0*TCLJFV2mD1qEX6ov.PNG" /></figure><ul><li>Name the Ad unit name &amp; CREATE AD UNIT</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*N_aiR7kF9T1OCLpL.PNG" /></figure><ul><li>Save the app ID &amp; ad unit ID</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*SIX-KThB6YXfJ2uS.PNG" /></figure><ul><li>Save ad ID and unit ID in strings.xml of your project</li><li>Add Following code in Your Layout File</li></ul><pre>&lt;com.google.android.gms.ads.AdView<br> android:id=”@+id/adView”<br> android:layout_width=”match_parent”<br> android:layout_height=”wrap_content”<br> android:layout_alignParentBottom=”true”<br> android:layout_centerHorizontal=”true”<br> ads:adSize=”BANNER”<br> ads:adUnitId=”@string/banner_home_footer”/&gt;</pre><ul><li>Add Following code in .java File</li></ul><pre>AdView mAdView = (AdView) findViewById(R.id.adView);</pre><pre>AdRequest adRequest = new AdRequest.Builder()<br> .addTestDevice(AdRequest.DEVICE_ID_EMULATOR).build();<br> mAdView.setAdListener(new AdListener()<br> {<br> <a href="http://twitter.com/Override">@Override</a><br> public void onAdLoaded() {<br> }</pre><pre> <a href="http://twitter.com/Override">@Override</a><br> public void onAdClosed() {<br> Toast.makeText(getApplicationContext(), &quot;Ad is closed!&quot;, Toast.LENGTH_SHORT).show();<br> }</pre><pre> <a href="http://twitter.com/Override">@Override</a><br> public void onAdFailedToLoad(int errorCode) {<br> Toast.makeText(getApplicationContext(), &quot;Ad failed to load! error code: &quot; + errorCode, Toast.LENGTH_SHORT).show();<br> }</pre><pre> <a href="http://twitter.com/Override">@Override</a><br> public void onAdLeftApplication() {<br> Toast.makeText(getApplicationContext(), &quot;Ad left application!&quot;, Toast.LENGTH_SHORT).show();<br> }</pre><pre> <a href="http://twitter.com/Override">@Override</a><br> public void onAdOpened() {<br> super.onAdOpened();}<br> });<br> mAdView.loadAd(adRequest);<br> }</pre><pre> <a href="http://twitter.com/Override">@Override</a><br> public void onPause() {<br> if (mAdView != null) {<br> mAdView.pause();<br> }<br> super.onPause();<br> }</pre><pre> <a href="http://twitter.com/Override">@Override</a><br> public void onResume() {<br> super.onResume();<br> if (mAdView != null) {<br> mAdView.resume();<br> }<br> }</pre><pre> <a href="http://twitter.com/Override">@Override</a><br> public void onDestroy() {<br> if (mAdView != null) {<br> mAdView.destroy();<br> }<br> super.onDestroy();<br> }</pre><pre> <a href="http://twitter.com/Override">@Override</a><br> public void onBackPressed() {<br> // TODO Auto-generated method stub<br> super.onBackPressed();<br> finish();<br> }<br>}</pre><ul><li>Run the Project</li></ul><blockquote>Output:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/0*thgBx7-rxSoXO0VK.png" /></figure><blockquote>As per <a href="https://support.google.com/admob/answer/2753860">AdMob Policies</a> you are not allowed to click on your own live ads. In order to protect your AdMob account from getting suspended, use test ads during development as you might click the ads accidentally.</blockquote><pre>AdRequest adRequest = new AdRequest.Builder()<br>.addTestDevice(AdRequest.DEVICE_ID_EMULATOR)<br>// Check the LogCat to get your test device ID<br>.addTestDevice(&quot;JSKDHSDFSDLJDSJSDLFKJ&quot;)<br>.build();</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e27f941fdac" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>