Skip to main content

Posts

How to use Validation in Laravel 5.3

Validation in laravel 5.3 or at the all applications is the most important aspect while designing of them. It validates the incoming data. By default, base controller class uses a Validates Requests trait which provides a convenient method to validate incoming HTTP requests with a variety of powerful validation rules.
Recent posts

Tutorial Firebase Push Notification With Image on Android

Firebase cloud messaging (FCM) is a new version of Google Cloud Messaging (GCM). Using FCM you can send notification messages to your client application in order to drive user engagement. Notification messages can contain an optional data payload, which is delivered when users tap on the notification. Use notification messages when you want Firebase cloud messaging (FCM) to handle displaying a notification on your client app’s behalf. Use data messages when you want to process the messages on your client app. Create a new Android 1. Create a new Android Project in Android Studio. Give it a name and select the Minimum SDK on which your app will run on. I chose API 16 : Android 4.1 (JELLY_BEAN). 2. When you are prompted to add an activity to your application choose Blank Activity and click on next button. 3. In the next step click on Finish and in few seconds your application should be loaded in Android Studio. 4. Open build.gradle(Module:App) file of your application and add the ...

Configure Firebase With Admob on Android

Admob with Firebase and getting Ad unit Ids 1. Visit Admob and sign up for a new account using your google account. Once you login to your Admob account, you will be displayed a dashboard as shown below. Click on Monetize button to add a new app to your Admob account. 2. Click on Add your app manually and give it a name and select Android platform as shown below. A new App will be created and App-Id will be displayed. 3. Next step is to select an Ad format and customizing it the way you want. Firstly we will start with selecting Banner ad format as shown below. After customizing the Banner ad, you need to click on Save button. Once you click on Save button, a new Ad unit will be created with a unique ad-unit Id. Please make a note of this ad-unit Id corresponding to the Banner ad we created just now. 4. Next step is to link your admob app with the Firebase app you have created in the previous step. Click on Link to Firebase button and enter the package name of your android ...

Configuration Firebase Cloud Messaging on Android

Get a Firebase configuration file 1. The first thing you need to do to get started with Firebase is, sign up for a free account. You can use your Google account to sign in to your Firebase account. 2. After clicking on ‘Sign In with Google’, you might be asked to allow the Firebase to view your Email and your basic profile. Click on Allow button to continue. 3. Once you are signed in, Click on Go to your Console button if you are not automatically redirected to your Firebase console. Click on Create New Project button in your Firebase console. 4. Now you can see an overview of your new Firebase project. Now click on Add Firebase to your Android App as shown below. 5. Now you need to enter your application details (your application’s package name) and also get SHA-1 finger print and paste it in the field as shown below. Check out the note below on how to get SHA-1 from Android Studio. Click on Add App button. Upon clicking it, a file named google-services.json gets downloa...

Tutorial Integration Firebase With Admob on Android

Admob is the #1 mobile advertising platform to grow your app business and is powered by Google’s ad technology. You can integrate AdMob in your android application and start earning right away. The best way to use AdMob is with Firebase, though Google Mobile Ads SDK remains available as a standalone SDK which can also be used to integrate Admob with your android application. Admob publishers can start taking advantage of Firebase’s free and unlimited analytics solution to monetize more intelligently, just by linking with Firebase and importing the Firebase SDK into your android application. In this tutorial we will be showing how to integrate Admob with your android application using Firebase. Now let us create an android application on which we can integrate Firebase Admob to display Banner ads, Interstitial ads and Native Ads. Create a new Android 1. Create a new Android Project in Android Studio. Give it a name and select the Minimum SDK on which your app will run on. I chose A...