Posts

React Native Admob Banner Error and its Solutions

Admob plays an important library for any App who wants to earns. Admob Banner is one of the simplest Admob to implement. It is a rectangular image or text ads that occupy a portion of the App's layout. Sometimes we put the code correctly but steps as mention in instructions we face some issues. It may be related to the module, updated versions, crashes, library link issues, etc.  I will discuss here stepwise step Admob Banner issues you may face. Error-1 Invariant Violation: requireNativeComponent: "RNGADBannerView" was not found in the UIManager. This error comes when you do not link Admob. As on GitHub  Admob library installing instructions, they mentioned that  ''On Android the AdMob library code is part of Play Services, which is automatically added when this library is linked''. But still, if we get this error. To Solve this issue, you have to do to just after installing AdMob or after getting this error you have to wri...

Passing Data Between Screens in React Native

Image
I am creating a Simple App in which I demonstrate how we can use data from one page to another. React Native Router Flux is the navigation tool. This App is just to understand the basic concept of using React Native Router Flux that passing data by clicking on Button and get it to another page. In this blog, I also show how to get data from Input and passes it to another screen. I am using  React Native Version 56 which is the current version . To install React Native you can refer to this link below: https://facebook.github.io/react-native/ Let's start building an App 1. Create React Native App: react-native init MyApp(App Name) Or For Specific Version: react-native init MyApp(App Name) --version 0.46.1 2. Run React Native App: cd MyApp react-native run-android 3. After running react-native run-android , you will   see your new app running in your Android emulator look like this 4. I nstall React Native Router Flux For fur...

How to Create React Native App with Admob for Android

Image
React Native is a JavaScript framework for mobile App  which is supportable for both Android and iOS platforms.   It is an open-source framework  based on React, Facebook’s JavaScript library for building user interfaces, but instead of targeting the browser, it targets mobile platforms . Earn more from your mobile apps using Google AdMob .  AdMob is one of the world's largest mobile advertising platform. It  is a multi-platform mobile ad network that allows you to monetize your app .  User clicks on ads and earns revenue, the simplest way to improve your skills and business from Admob. Admob's  helps you to maximize revenue from ads and in-app purchases.  By integrating AdMob you can start earning right away. I am Using  React Native Version 55 . Here I tell you how to create an app then how we can implement  AdMob . I use AdMob Banner and Interstitial.  I also mention  Some Errors and solutions where I stuck ...