Tips and Tricks | Native Android Storybook App with AdMob & FCM PUSH Notification
$10.00
77 sales
Title: Tips and Tricks | Native Android Storybook App with AdMob & FCM PUSH Notification – A Game-Changer!
Introduction:
Are you tired of mediocre Android apps that lack innovative features and robust functionality? Look no further! Tips and Tricks | Native Android Storybook App with AdMob & FCM PUSH Notification is an exceptional app that exceeds expectations in every aspect. With its unique features, stunning UI, and impressive documentation, this app is a must-have for anyone looking to create an immersive and engaging reading experience.
Features:
This app boasts an impressive array of features that make it stand out from the competition. Some of the key features include:
- No programming needed, thanks to the online HTML editor and JSON formatted internal database
- Image caching for offline reading, ensuring uninterrupted access to content
- Native Android HTML formatted content support for seamless reading experience
- Unlimited topics and enhanced offline search facilities
- Favorite list and topic sharing facilities for easy content discovery
- RTL Arabic layout support for global compatibility
- PUSH Notification for timely updates and engagement
- Material Color theme for a modern and visually appealing design
App Demo and Technical Documentation:
To experience the app’s full potential, check out the demo app link provided, which showcases the app’s UI and functionality. The technical documentation is also impressive, with a comprehensive changelog that highlights the app’s updates and bug fixes.
Score: 4.67
Pros:
- Innovative features that set it apart from other apps
- Impressive UI and UX design
- Robust functionality and offline support
- Excellent documentation and changelog
Cons:
- Some users may find the app’s UI and design too cluttered or overwhelming
Conclusion:
Tips and Tricks | Native Android Storybook App with AdMob & FCM PUSH Notification is an exceptional app that delivers an unparalleled reading experience. Its innovative features, stunning UI, and impressive documentation make it a standout in the market. Whether you’re a reader or a developer, this app is a must-have that’s sure to impress.
User Reviews
Be the first to review “Tips and Tricks | Native Android Storybook App with AdMob & FCM PUSH Notification”
Introduction
In this tutorial, we will be exploring the Tips and Tricks | Native Android Storybook App with AdMob & FCM PUSH Notification. This app is a comprehensive guide to learning the basics of Android development, and in this tutorial, we will be focusing on how to integrate AdMob and Firebase Cloud Messaging (FCM) push notifications into the app.
What is AdMob?
AdMob is a mobile advertising platform that allows developers to monetize their apps by displaying ads to users. AdMob provides a range of ad formats, including banner ads, interstitial ads, and rewarded videos, which can be customized to fit the needs of your app.
What is Firebase Cloud Messaging (FCM)?
Firebase Cloud Messaging (FCM) is a cloud-based messaging service that allows developers to send targeted messages to their app users. FCM provides a range of features, including push notifications, which can be used to notify users of new content, updates, or other important events.
Why use AdMob and FCM together?
By integrating AdMob and FCM into your app, you can create a more engaging and interactive user experience. AdMob can be used to display ads to users, while FCM can be used to send push notifications to users who have opted-in to receive them. This can help to increase user engagement, drive more traffic to your app, and ultimately increase revenue.
Prerequisites
Before starting this tutorial, you will need to have the following:
- Android Studio installed on your computer
- A basic understanding of Java or Kotlin programming
- A Google Developers Console account
- A Firebase project set up with FCM enabled
- A AdMob account set up with a publisher ID and ad unit ID
Step 1: Set up AdMob
To set up AdMob, follow these steps:
- Go to the AdMob website and sign in with your Google account.
- Click on the "Create an account" button and follow the prompts to set up your account.
- Once your account is set up, click on the "Create an app" button and select "Android" as the platform.
- Enter your app's name, package name, and other relevant information.
- Click on the "Create" button to create your app.
- Once your app is created, click on the "Ad units" tab and select "Banner" as the ad format.
- Enter your ad unit ID and other relevant information.
- Click on the "Save" button to save your ad unit.
Step 2: Set up FCM
To set up FCM, follow these steps:
- Go to the Firebase console and sign in with your Google account.
- Click on the "Create a project" button and follow the prompts to set up your project.
- Once your project is set up, click on the "Navigation menu" (three horizontal lines in the top left corner) and select "FCM" from the menu.
- Click on the "Create a new key" button and follow the prompts to create a new key.
- Once your key is created, click on the "Navigation menu" and select "Cloud Messaging" from the menu.
- Click on the "Create a new message" button and follow the prompts to create a new message.
- Once your message is created, click on the "Send" button to send the message to your app users.
Step 3: Integrate AdMob and FCM into your app
To integrate AdMob and FCM into your app, follow these steps:
- Open your Android Studio project and navigate to the
build.gradle
file. - Add the following lines of code to the
dependencies
section:implementation 'com.google.firebase:firebase-messaging:22.0.0' implementation 'com.google.firebase:firebase-admob:19.6.0'
- Sync your project by clicking on the "Sync now" button in the top right corner of the Android Studio window.
- Open the
AndroidManifest.xml
file and add the following lines of code:<application ... <meta-data android:name="com.google.firebase.messaging.FCM_LOG_LEVEL" android:value="DEBUG" /> <meta-data android:name="com.google.firebase.messaging.FCM_AUTO_INIT_ENABLED" android:value="true" /> ... </application>
- Open the
MainActivity.java
file and add the following lines of code:import com.google.firebase.messaging.FirebaseMessaging; import com.google.firebase.messaging.FirebaseMessagingService; import com.google.firebase.messaging.RemoteMessage;
public class MainActivity extends AppCompatActivity { private FirebaseMessaging messaging;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
messaging = FirebaseMessaging.getInstance();
messaging.subscribeToTopic("my_topic");
}
@Override
public void onMessageReceived(RemoteMessage remoteMessage) {
super.onMessageReceived(remoteMessage);
Log.d("FCM", "Received message: " + remoteMessage.getNotification().getTitle());
}
}
6. Open the `MyFirebaseMessagingService.java` file and add the following lines of code:
import com.google.firebase.messaging.FirebaseMessagingService; import com.google.firebase.messaging.RemoteMessage;
public class MyFirebaseMessagingService extends FirebaseMessagingService { @Override public void onMessageReceived(RemoteMessage remoteMessage) { super.onMessageReceived(remoteMessage); Log.d("FCM", "Received message: " + remoteMessage.getNotification().getTitle()); } }
7. Open the `strings.xml` file and add the following lines of code:
Tips and Tricks | Native Android Storybook App
MainActivity
8. Open the `activity_main.xml` file and add the following lines of code:
<?xml version="1.0" encoding="utf-8"?> <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" android:orientation="vertical">
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hello World!" />
<com.google.android.gms.ads.AdView
xmlns:ads="http://schemas.android.com/apk/res-auto"
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
ads:adSize="BANNER"
ads:adUnitId="YOUR_AD_UNIT_ID">
</com.google.android.gms.ads.AdView>
9. Replace `YOUR_AD_UNIT_ID` with your actual AdMob ad unit ID.
**Step 4: Test your app**
To test your app, follow these steps:
1. Run your app on a physical device or emulator.
2. Open the app and verify that the AdMob ad is displayed correctly.
3. Send a push notification to your app using the Firebase console.
4. Verify that the push notification is received correctly and displayed in the app.
**Conclusion**
In this tutorial, we have learned how to integrate AdMob and FCM into our app. We have set up AdMob and FCM, and integrated them into our app using the Android Studio project. We have also tested our app to verify that the AdMob ad is displayed correctly and the push notification is received correctly.
Here is a complete settings example:
Step 1: Configure Google-services.xml
In your root level of your project's structure, you should add following configuration:
<?xml version="1.0" encoding="utf-8"?>
<properties>
</properties>
For FCM and GoogleAnalytics add the following keys (values):
googleServicesJsonFile yourFile.json
google_maps_webApiKey your_webApiKey
firebaseDatabaseApiKey your apiKey
firebaseMessagingSenderId yourSenderId
firebaseAppDelegateIntegration enabled
gaTrackerTagId your_tag_id
googlePlayServicesUse = false
firebaseTokenValidation enabled
firebaseNotificationsAutoInit enabled
FirebaseDataBackupEnabled enabled
AppVersionName Versionname
AppVersionCodeVersion 1
buildApi 24
#AndroidAppBundleProperties for setting your android App info such as PackageName for testing your application in this.
package-name-com.anyany.name
FirebaseUserStorageEnable = enabled
StorageBackupEnabled enabled
Your application Id, that generated after the configuration by
YourAppApplication Id "YourApplication Id "
}
Step 2: Configure your file:
Then You want to create file to root directory, which for use it. So
android/app/google-services.json then download from
API. Now open file this downloaded.
android/app/build.gradle.
compileSdkVersion 23
buildToolsVersion = (com.android.tools.build : gradle)
productFlavors:
appSettings =
{
def configurationsToUse =
listOf ('proguardSettingsFiles',
"crasher')
application Id.name "com.your.com.app" and use com.any.any. other.
// Other Options available at
Android. Support. Multi dex (if necessary, specify configuration.
// appcompat, or Support.
dependencies {
Support com.android.
Android compile " com.squareup : butter :"
and the use
your support.
library "https:
android.com gradle.
}
app/
...
and in it write all configurations you in which
package Android.name for package.
Here use name.
For application for app
use.
}
}
These two configurations. Are setting configurations of with using Firebase, and, by FCM ( Fire).
Firebase. It shows FCM that by of notification.
With to support FCM (Push
by notifications notification).
Also setting configure, you Ad Mob Google and FCM also Push
Here are the tips and tricks about the Native Android Storybook App with AdMob & FCM PUSH Notification:
Features
- No Programming needed: Create formatted contents using an online HTML editor.
- JSON formatted internal database: Store and manage data efficiently.
- Image Caching for Offline reading: Allow users to read content offline.
- Native android HTML formatted contents support: Support native Android HTML formatting.
- Unlimited topics: Create and manage an unlimited number of topics.
- Enhanced offline search facilities: Provide an enhanced search experience for offline users.
- Favorite List to Bookmark Topics: Allow users to bookmark topics for easy access.
- Topic Sharing Facilities: Enable users to share topics with others.
- Topic Copy Facilities: Allow users to copy topics for easy sharing.
- Supports RTL Arabic Layout: Support right-to-left Arabic language layout.
- PUSH Notification: Send push notifications to users.
- Material Color theme: Use a material design color theme.
- Enhanced documentation: Provide detailed documentation for developers.
- 24/7 Customer Support: Offer customer support 24/7.
Demo App Link
[Insert demo app link]
App Demo Video
[Insert app demo video link]
No Programming Needed
Check out the technical documentation for more information.
Changelog
Here is the changelog for the app:
V1.12
- Minor Update: Enriched Technical doc for removing banner ads from Post Details page
V1.11
- Migrated to AndroidX
- Upgraded 'build.gradle' files to support up to Android 10 (API Level 29) and upper versions
- Modified 'AndroidManifest.xml' file according to these updates
V1.10
- Upgraded 'build.gradle' files
- Contents not fully opening in some latest android devices issue resolved
- Modified 'AndroidManifest.xml' file according to these updates
- 'Text to speech' option introduced in the post details page
- Introduced image download option
- Introduced image set as wallpaper option
- Enriched technical documentation
V1.9
- Updated source code to comply with latest and updated policies of Google Play
- Limits the frequency of full-screen ads showing so that we can avoid disturbtive ads. Now after 3 or more clicks, a full-screen ads will be shown
- Updated the Privacy Policy
- Enriched technical documentation according to these updates
V1.8
- Redesigned the database
- 'More Apps' option introduced in the navigation drawer
- Frequent 'Rate this App' dialog implementation
- Enrich technical documentation
V1.7
- Enrich technical documentation
V1.6
- Optimized source code to comply up-to latest version of android studio
V1.5
- Enrich video documentation
V1.4
- Removed some permissions from manifest
V1.3
- Optimized source code
- Optimized UI & UX design
V1.2
- Enrich technical documentation
V1.1
- Integrated banner ads in the post details page
- Integrated post title in the post details page
V1.0
- Initial Release
$10.00
There are no reviews yet.