Admob is not working in IOS - meteor

Admob is not working in IOS but it is working in the Android. Please help me out for the same.
Application is in Meteor JS. I have used following plugins of cordova but got the same issue working in Android but not in IOS.
Following are the plugins I have checked with:
cordova-plugin-admob-free#0.17.0
cordova-plugin-admobpro#2.31.6
cordova-plugin-admob-simple#3.3.4
Thank You,

Related

Emulator is showing error {firebase.App() not found} while using firebase authentication with React Native using expo-cli

While using functionality of authentication through firebase, emulator is showing error i.e.{ you attempted to use a firebase module that is not installed on your android project by calling firebase.app() }.Please help me to resolve this error.
I'm using Expo as command line input.
react-native version -0.63.6,
"#react-native-firebase/app": "^8.4.3",
"#react-native-firebase/auth": "^9.2.3"
If you are using expo client, you should not use react-native-firebase modules because they are not compatible with expo client.
However, you can use firebase javascript SDK instead. It is all explained there.
Update 02-12-2021
Guys expo's eas-build is now public. You can add custom native codes and use react-native-firebase. Here is the link to a youtube tutorial. The video is short and super easy to follow. Here is the link to the docs
Previous answer
Currently, Firebase does not work in react native if you are using the mobile configuration. However, if you use the web configuration it will work. Here is the youtube tutorial. Watch from 38:20 to set up.

Ionic 2 + Firebase issue wrong redirect

I just start developing hybrid apps using Ionic2 and Angular2.
I decide to use Firebase with AngularFire2, following this tutorial:
https://github.com/angular/angularfire2/blob/master/docs/1-install-and-setup.md
Everything works fine when I type ionic serve in terminal.
But when I run with ionic run -l and try to open in browser, it redirects me to Firebase Console. Meanwhile on iOS simulator, the project runs perfectly.
Can somebody help me to resolve this issue?
Also, recommend me some hosting to deploy apps with Ionic 2 and Firebase.
Thank you very much!
I have created a starter-kit for Ionic 2, Angular 4 and Firebase 3.
You can check it out here:
https://github.com/Temeteron/ionic2-firebase-starter-kit
I am not really sure what causes your problem. I encourage you to check this starter-kit, maybe Angular 4 will solve this problem.
About the hosting, this tutorial is deployed on app-engine of Google: https://cloud.google.com/appengine/
A have also deployed there, other web applications, either developed on polymer or Ionic 2. I will put the links below, so you can check out the speed of the response and of the connection that app-engine provides freely.
GitCV: https://www.gitcv.com/
Any Counter: https://any-counter.appspot.com/
Best of luck!

Issue integrating analytics plugin in Mobile First Application project

I have a problem...
I'm try to add this plugin: https://github.com/danwilson/google-analytics-plugin.
I'm develop an application with: AngularJS, Ionic and Mobile First Platform 7.1(MFP), in this version of MFP I must add the plugin manually.
iOS works fine.
My problem is Android:
Error: "The import com.google.android cannot be resolved".
I download Google Play Services with SDK but the problem continues...
Any idea to solve this problem?
Regards.
This other plugin https://github.com/appfeel/analytics-google uses gradle dependencies which should solve this problem.
Other option could be to remove google play dependency from the plugin you mentioned and manually modify gradle (actually I don't recommend this option as gradle gets generated automatically each time you remove/add the platform).
Other option is to modify the plugin itself (maybe a github fork). Here you can see what should it be modified: https://github.com/appfeel/analytics-google/pull/11/files

CSS issue in 2 difference android versions.(4.1.2 and 4.4.2)

i am facing issue like one of my samsung device display correct css and another samsung device does not.
in right side of images(android version 4.1.2) and left side (android version 4.4.2) the problem in 4.1.2 device.
any solution for this or any BUG in android version.
i apply ( .platform-android4_1{} ) css also but can't effect.
example(Header and buttons are smaller,badges are small)
help me please .
thank you
Most of ionic android developers face this issue because of different verions of web-views environment on different devices. Solution of this is to add crosswalk plugin to your project.This makes your Cordova / Ionic application use the Crosswalk WebView instead of the System WebView. It patches own browser with application so it runs in that having same specific environment on each device. So application behavior will be same on each device.
add this plugin using following command:
ionic plugin add cordova-plugin-crosswalk-webview
More about Crosswalk, see link : https://crosswalk-project.org
Read this blog post by ionic to understand how it helps you stablize and improve behavior of hybrid applications across all versions of android.

appGyver Steroids SQLite Cordova Plugin

I'm using steroids by appgyver (update to latest version which includes supersonic as well) to develop my app.
I'm confused about the SQLite plugin. First they supported and included it, then they remove it, then they say that it will not work unless you configure the custom build (and there is no much documentation about that)...
I have a very simple application: textarea and button. When you click the button you insert intto the database the value.
According to the docs https://github.com/brodysoft/Cordova-SQLitePlugin
I'm using var db = window.sqlitePlugin.openDatabase({name : "mydb"});
to open the database. I have the scanner app updated on both android and ios. The result is that in IOS works fine while in Android I get this error: "Cannot read property 'openDatabase' of undefined".
My question is: for IOS the app will stop working once deployed on the appstore?
Why it's working with IOS Scanner? Is it supposed to work? I understood they removed SQLIte support. I don't understand. Then, cause in IOS works, why in Android is not working?
Moreover, how to include SQLite plugin in a steroid project? Anyone was suffesfuul with that? I love appgyver, they did a wonderful job with steroids and supersonic, but... for this SQLite plugin and related support (even an example would do) I'm a bit concerned regarding my decision to go with steroids and not with xamarin for example.
Thank you guys.
AppGyver dev here! You need to include the SQLite plugin as a custom plugin to your app using our Build Service, and then build a stand-alone app: http://docs.appgyver.com/tooling/build-service/
The SQLite plugin is included in the iOS App Store Scanner for preview purposes, so that's the reason it's working on iOS and not on Android. This is actually something we're removing soon, so sorry for the confusion.

Resources