Implement admob eu-consent in a react-native app - javascript

Has anybody successfully implemented the Admob eu-consent library on a react-native android app? or managed to send the user consent to Admob without the library? How?
I'm using the react-native-firebase module for Admob, unfortunately the developers there aren't considering a solution for this, yet.
After Admob released this library our eCPM dropped at 50% for all users (including for US users).

Related

Can i check background running apps react native

I am developing a app in react native. While the app start any financial transaction it should scan if other application are running in the background or not both in iOS and Android platform?
I know it's been a year, but:
Detect when other Application is launched in React Native app
Due to security concerns, apps are "sandboxed". You can't tell what other apps are running on the device.
You can however see what apps are INSTALLED on the device, and you can do things like deep-linking to open other apps on the device.

Can a PWA app be published to app store and play store

I am creating a React JS web app which will eventually be converted to a PWA so that the users can install it on their mobile devices. Now the client ask to find out a way to push these PWA apps to apple store and google store. So my query is whether we have tools for converting the Progessive Web Apps as apk or ipa files so that we can put them to apple store or play store.
I googled a bit and is right now confused because some say it is possible, some say not possible in Apple store. I also saw some tools like PWABuilder, but I am not sure which one is the right one to use and whether we can publish a PWA app to the app store and play store.
Any help on this will be very grateful.
Thanks
While it is possible in both cases, publishing a PWA on the Apple Store is an incredible difficult journey, because Apple engineers try to build obstacles all the way long. This is by decision as Apple is making profits from its app store and PWAs would indeed subtract some of these gains. This is also the reason why Safari, as browser, is incredibly behind the other competitors in supporting PWAs APIs (PUSH API for example, as they promote their Apple Push Notification Service (APNs)).
Long story short, I would concentrate on Google Play Store, where you can publish a PWA after having wrapped it into a Trusted Web Activity (TWA), allowing Chrome (v72 or later) to run a website in fullscreen mode without a browser toolbar within an APK (Android Package). You can find further details in this tutorial to publish a PWA on the play store.
You could use Capacitor to create a native App.
It is newer than Cordova.
Here you can see the Stackoverflow TagTrend: Capacitor vs Cordova
... or wait some month. Sooner or later you will get PWAs into the Apple Store. I don't think they are able to stop this process.
I published my pwa to google play store and apple app store. I used App-bound Domains for ios and Twa for android. I think at this time to simple to publish some pwa to appstore.

Does a non-mobile DJI Drone SDK exist?

I can see that DJI has a drone SDK for mobile apps (iOS/Android), but I would like to pilot the device from client-side JavaScript or desktop C#. Preferably some type of REST api that can be addressed by any language.
Does something like that exist? I don't see anything obvious on their website.
Did you find the DJI Onboard SDK?
It has sample programs for Qt, Linux, and STM32.
You could use the desktop app/web app to send commands to an MQTT server. You would then need to write a simple mobile app to connect to the MQTT server and subscribe to the command channel.
Then as commands come in via your various applications (desktop, web, etc) you translate the commands received from MQTT to the specific DJI SDK commands and send them to the UAV.
If you're looking to straight up control the drone without being connected to the RC controller or a mobile device, then the only option is the onboard SDK. If you are just looking for a way to run code on the drone directly, you would need to go through either the mobile SDK or onboard. There would be no way to do so without onboard or mobile sdk, you would need some device to communicate with your application and transfer those commands to the drone via onboard sdk or just write an android or ios application for the mobile sdk.
Just buy Blue stack emulator for Windows to simulate Android OS. Better option is to explore docker on Windows and spin some android docker container. It is free to host it in Azure also with database inside.

Adding Apple in-app purchase to Electron HTML/JS app

Is there a way to add Mac App Store in-app purchase to Electron HTML/JS application? There are app store modules for Phonegap, Nativescript, ImpactJS etc but I can't seem to find anything for Electron or pure JS.
As suggested in one of the similar GitHub issues, you can try out customising nodobjc module.
A Node.js module for in-App-Purchase for iOS, Android, Amazon and Windows. https://github.com/voltrue2/in-app-purchase
From what I can see on this post, no one has really given a thorough answer.
I need to do in app purchases in my Electron app for the Mac App Store. It doesn't seem like anyone has figured out how to do that yet, so I've created a post with a 300 reputation points worth of bounty. If you think you can get more specific with how you'd do in app purchases, please let me know in there:
Implementing in-app purchase in an Electron app for the Mac App Store

Is it possible to get this facebook plugin working with pure phonegap app

This might be really a basic issue. I am kind of confused. I don't understand one thing. Phonegap app is pure html5 and javascript. But for this plugin (https://github.com/davejohnson/phonegap-plugin-facebook-connect/tree/master/example/HackBook) to work we need separate java code for android and xcode for ios.
I got the java version of the android tutorial working with the simulator but when I just copy the assets folder to build a pure phonegap app. it does not work.
Then it beats the purpose if i still have to maintain 2 code lines.
Does just the html and JavaScript code in this plugin is not supported by phonegap app without java or xcode.
Here is my phone gap app. you can download it. https://build.phonegap.com/apps/211586/share
My code in the git repositiry is here
https://bitbucket.org/sunmeet/phonegab2.0_fbapi
PhoneGap Build service only Supports ChildBrowser , Barcode Scanner, Google Analytics recently.
if you try to use any external plugin which needs assets other than HTML / CSS / JS, you can't use them with PhoneGap Build Service. But, PhoneGap Team are trying to push out different plugins like Facebook Connect in Future Releases.
So, here they gave two Options to Deveopers.
Use Child Browser and Do Process Facebook OAuth Authentication.
Build Locally.
Andriod developement environment is "Eclipse" IOS
developement environment is "XCode"(OS: MacOS)
I Suggest you to work with first option and once plugin is our from build service its really easy to integrate anytime.

Categories

Resources