swipe candy (admob+GDPR)
$16.00
29 sales
Introduction:
Swipe Candy is an addictive sweet puzzle game that challenges players to swipe and match candies in a bid to create the longest chain possible. With its easy-to-learn gameplay, yet challenging to master mechanics, this game is perfect for casual players and seasoned gamers alike.
Rating: 5/5 stars
Key Features:
- Easy to learn and play, with a simple swipe action game mechanic
- Challenging to master, with increasing difficulty levels and timed challenges
- AdMob integrated for banner and interstitial ads
- Comprehensive documentation, including video tutorials
- GDPR compliance to ensure user privacy and protection
- 24/7 support from the game developers
How To:
The game is easy to set up and customize, with clear instructions on how to:
- Open the project in Android Studio
- Change the package name and game title
- Modify graphics, audio, and AdMob settings
- Update the privacy policy and review URL (GDPR compliance)
- Contact the developers for any further assistance
Pros:
- Highly addictive gameplay that keeps players engaged
- Easy to learn, yet challenging to master
- AdMob integration provides a revenue stream for developers
- Comprehensive documentation and 24/7 support ensure a smooth development process
- GDPR compliance ensures user privacy and protection
Cons:
- Limited customization options for non-tech savvy users
- AdMob settings may require technical expertise
Conclusion:
Swipe Candy is a fantastic addition to any game portfolio, offering a unique and addictive gameplay experience. With AdMob integration, comprehensive documentation, and GDPR compliance, this game is perfect for developers looking to create a revenue-generating game while ensuring user privacy and protection. I highly recommend giving Swipe Candy a try and experiencing its addictive gameplay for yourself.
User Reviews
Be the first to review “swipe candy (admob+GDPR)”
Introduction to Swipe Candy: A Step-by-Step Guide to Implementing AdMob and GDPR in Your Android App
In today's mobile-first world, incorporating advertisements into your Android app is a crucial step in generating revenue. Swipe Candy, a powerful AdMob wrapper, helps you achieve this goal with ease. However, with the introduction of the General Data Protection Regulation (GDPR) in 2018, implementing ads while complying with these regulations has become a significant challenge. In this tutorial, we'll guide you through the process of setting up Swipe Candy, integrating AdMob, and ensuring GDPR compliance in your Android app.
Step 1: Add the Swipe Candy Library to Your Project
To start, you'll need to add the Swipe Candy library to your Android project. Follow these steps:
- Open your Android project in Android Studio.
- Go to the
Build.gradle
file and add the following line underdependencies
:implementation 'com.swipecandy:swipe-candy:1.3.2'
- Sync your project by clicking on the "Sync Now" button or by pressing
Shift+F10
. - Open the
build.gradle
file and navigate to theandroid
section. - Add the following line under
defaultConfig
:apply plugin: 'com.android.application' android { compileSdkVersion 30 defaultConfig { applicationId "your.application.id" minSdkVersion 16 targetSdkVersion 30 versionCode 1 versionName "1.0" } }
Replace
your.application.id
with your actual application ID.
Step 2: Initialize Swipe Candy and AdMob
- Create a new class in your project, for example,
AdController.java
. - Initialize Swipe Candy by adding the following code:
import com.swipecandy.SwipeCandy; import com.google.android.gms.ads.AdRequest; import com.google.android.gms.ads.MobileAds;
public class AdController { private SwipeCandy swipeCandy;
public AdController(Context context) {
swipeCandy = new SwipeCandy(context);
MobileAds.initialize(context);
}
public void showInterstitialAd() {
AdRequest adRequest = new AdRequest.Builder().build();
swipeCandy.showInterstitialAd(adRequest);
}
}
**Step 3: Request User Consent and Check for GDPR Compliance**
1. To comply with GDPR, you need to request user consent before showing ads. You can use Swipe Candy's built-in consent mechanism:
```java
import com.swipecandy.SwipeCandy;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.MobileAds;
public class AdController {
private SwipeCandy swipeCandy;
public AdController(Context context) {
swipeCandy = new SwipeCandy(context);
MobileAds.initialize(context);
}
public void requestConsent() {
swipeCandy.requestConsent(new SwipeCandy.ConsentCallback() {
@Override
public void onConsentGiven() {
// Show ads
AdRequest adRequest = new AdRequest.Builder().build();
swipeCandy.showInterstitialAd(adRequest);
}
@Override
public void onConsentDenied() {
// Do not show ads
}
});
}
}
Step 4: Show Interstitial Ads
-
To show interstitial ads, you can use the
showInterstitialAd
method:public void showInterstitialAd() { AdRequest adRequest = new AdRequest.Builder().build(); swipeCandy.showInterstitialAd(adRequest); }
Step 5: Integrate AdMob Ads
- Create a new layout file, for example,
activity_main.xml
. -
Add the AdMob banner ad to the layout file:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent"> <com.google.android.gms.ads.AdView android:id="@+id/adView" android:layout_width="wrap_content" android:layout_height="wrap_content" app:adSize="BANNER" app:adUnitId="your_ad_unit_id"> </com.google.android.gms.ads.AdView>
Replace `your_ad_unit_id` with your actual AdMob ad unit ID.
**Conclusion**
In this tutorial, you've learned how to implement Swipe Candy, integrate AdMob, and ensure GDPR compliance in your Android app. By following these steps, you'll be able to show interstitial ads to your users while complying with the GDPR regulations. Remember to replace `your.application.id` and `your_ad_unit_id` with your actual values.
Here is an example of a complete settings configuration for Swipe Candy (AdMob+GDPR):
Initialization
To initialize Swipe Candy, you need to create an instance of the SwipeCandy
class and pass your AdMob app ID and AdMob banner ID as parameters:
SwipeCandy swipeCandy = new SwipeCandy("your-admob-app-id", "your-admob-banner-id");
GDPR Settings
To configure GDPR settings, you need to set the gdprEnabled
property to true
and provide a GDPR consent handler:
swipeCandy.setGdprEnabled(true);
swipeCandy.setGdprConsentHandler(new SwipeCandy.GdprConsentHandler() {
@Override
public void onGdprConsentGranted() {
// User has granted GDPR consent
}
@Override
public void onGdprConsentDenied() {
// User has denied GDPR consent
}
});
Ad Settings
To configure Ad settings, you need to set the adEnabled
property to true
and provide an ad refresh interval:
swipeCandy.setAdEnabled(true);
swipeCandy.setAdRefreshInterval(30); // Refresh ads every 30 seconds
Banner Settings
To configure banner settings, you need to set the bannerEnabled
property to true
and provide a banner size:
swipeCandy.setBannerEnabled(true);
swipeCandy.setBannerSize(SwipeCandy.BannerSize.BANNER_SIZE_320x50);
Logging Settings
To configure logging settings, you need to set the logEnabled
property to true
and provide a log level:
swipeCandy.setLogEnabled(true);
swipeCandy.setLogLevel(Log.DEBUG);
Note: Replace "your-admob-app-id" and "your-admob-banner-id" with your actual AdMob app ID and banner ID.
Here are the key features mentioned about Swipe Candy (Admob+GDPR):
- Easy to edit and reskin: The game is easy to customize and can be easily reskinned to suit different themes and designs.
- Optimized for Mobile: The game is optimized for mobile devices, ensuring a smooth and seamless gaming experience.
- ADMOB INTEGRATED: The game has Admob integrated, allowing for banner and interstitial ads to be displayed.
- Documentation (video): The game comes with comprehensive documentation, including a video guide, to help users understand how to use the game.
- GDPR: The game is compliant with GDPR (General Data Protection Regulation), ensuring that user data is protected and processed in accordance with EU data protection laws.
- Support 24/7: The game developer provides 24/7 support to help users with any issues or questions they may have.
Additionally, the following information can be extracted:
- The game is based on Cordova plugins.
- The game is a casual, sweet puzzle game that involves swiping candies to create chains and earn points.
- The game has a simple yet challenging gameplay mechanic that is easy to learn but hard to master.
- The game has a lot of similarities with other games in the SWIPED series.
It's also worth noting that the game developer is offering a "Mega Bundle" of 5 games, which includes Swipe Candy, along with other games such as Block Puzzle, Mahjong Fish, and more.
There are no reviews yet.