Posts

Showing posts from May, 2021

How to implement GoogleAdMob in Xamarin forms ?

Image
Here are step by step  instructions to implement google AdMob through Xamarin Forms. I have used Test keys of Google AdMob for practice, visit this page to get test keys of sample ads test keys of Google Sample Ads  . You can create your own Ads from  Google AdMob  website, and use generated keys. I have also this project in Github to download  Github project of google admob , don't forget to give star. 1) Create new project in Visual Studio, choose last options for new project. 2) Choose Project type as Xamarin forms, install Xamarin in visual studio if you haven't.          choose Blank(empty) template for Xamarin project. 3) Now we will have Solution Explorer like this,           here, GoogleAdMob is my project name. And project is setup for both IOS and Android. 4) Now install a NuGet package in Shared project, right click on first project and choose       "Manage Nuget Packages". 5) ...

How to solve "Running script disabled/Execution policy" error in Angular CLI ?

Image
 While working on angular we use command line for running script to execute commands for angular like "ng generate component comp-name" , "ng generate module mod-name", many other,  but sometimes you may face error like this,  this is snapshot of my vscode angular cli error. To solve this, you just have fire one single command from same terminal , " Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser " As we can see after this command my command for module generation executed successfully, and no error shown like above. Thanks