Cordova Android 12.0.0 Released
Just announced https://cordova.apache.org/announcements/2023/05/22/cordova-android-12.0.0.html
Just announced https://cordova.apache.org/announcements/2023/05/22/cordova-android-12.0.0.html
In order to capture logs from an Android device, the first step is to download and install Android Studio on your computer. Once Android Studio has been downloaded and installed, launch it. You need to create a new project in the Android Studio. Select the most basic template while creating the project. Once the project is created, it will be opened as following Notice the “Logcat” tab at the bottom. This is where we will be seeing logs from our Android device. The next step is to connect the Android device with your computer. Before you connect your Android device with the computer, make sure to enable developer options on your mobile device. In order to enable developer options on your mobile device, you need to go to the settings on your mobile phone and go to the “About phone” screen. You will see the phone’s build number. Tap it[…]
I recently submitted a Google Play Games Services project for an Android game in order to add leaderboard/achievements capability in the game and my submission for OAuth Consent Screen was rejected for the following issue My app was using the same icon which was uploaded for the Android game in the developer console. I uploaded the same icon a few times thinking that probbaly it’s the issue with icon format and kept getting rejected wih the same message. Finally I asked what do they mean by home page and in reply I received the ico file form my authorized domain website which did not match with the icon uploaded in the OAuth screen. I uploded the same icon image in the OAuth screen which was used in my authorized domain website (also hosting privacy policy) and finally OAuth consent screen was approved by Google.
A very well maintained directory of cordova plugins which developers should look at for various app related tasks. https://danielsogl.gitbook.io/awesome-cordova-plugins/
A nice explanation has been given @https://ryanve.com/_php/airve/chromosome/request.php?request=lab/dimensions/ Test it out on your device by opening the URL belowdemo
Login to Google Search Console In the top left corner, you would see a dropdown list of existing properties (or domains) you own. If the domain you want to verify does not exist, then simply click on Add New Property option in the dropdown to add your domain which will open a popup like below After entering your domain name, click continue to go the the next step You can verify your domain via DNS records in your hosting or a URL prefix property. Choose whichever is more convinient to you and follow the process which is explained in detail in the search console.
If you have made an HTML5 game and have compiled the game to an APK using Cordova and now want to add Play Games Services to your app to use Leaderboard and Achievements from Play Games Services, you need to follow a set of steps to make it work. If you want to learn how to use cordova to compile HTML5 game to an APK and publish to the Google Play Store, follow the steps @ https://www.netexl.com/blog/use-cordova-to-compile-html5-games-to-android-app/ Assuming that we have installed all tools for cordova on our system and can compile the game to the APK, we will follow next steps for the Play Games Services integration. First we need to find a cordova plugin which integrates the Play Game Services API and add it to our project. Go to NPM and search for the latest plugin for the Play Game Services integration. If you have not already created[…]
I recently wrote a HTML5 webgame utilizing simple canvas apis and added both mouse events and touch events to make sure it can be played on both desktop as well as mobile devices which led to the issue on mobile where touch events were getting called twice and not just once. The code I used to add events was as following It seemed like mouse events were geting called in addition to the touch events. After debugging this issue for hours and trying many suggestions found online, nothing worked so I switched to simply add only one set of events based on the device type. If it is mobile, call touch events and if it is desktop, call mouse events. Here is the modifed code I used which is wroking perfectly on both mobile and desktop devices.
With the release of a new major Google Mobile Ads SDK version, a deprecated major version may be given a sunset date, after which all SDKs with that major version will no longer serve ads. https://developers.google.com/admob/android/deprecation