User err:error requesting access to upload a new release to the Google play store:Package not found:com. TsT.sFighter

That’s correct.

So need to remove npm reference in config.xml and remove npm code in project(mine is in cod file) ?

It depends on what problem you are trying to solve. Could you be more specific about the details?

Just like what u mention, csp n admob.

If you remove admob do things work properly?

I change image/… Png to 432x442(icon) ,del away admob code,del admob ref in config. Run voltbuilder, install on my phone.got a msg “app not installed”.uinstall old sfighter on phone. Install sfighter gain, apk run pass icon, work perfectly wo admob. Couldn’t run an instance of sfighter with admob with remote debugger. If run old sfighter on the list(wo admob), it has no err on console… Best rdgs, TsTan


The problem is I do not know how to do these 4 consent.

Just for European consent, there is a lot of code involved, java and korlin, I don’t know how to implement it in javascript. There is also Lgdp, idfa(apple) and us.

Can chatgpt convert java to javascript?

We’re not admob experts here, but there are many people using admob and cordova together. I would ask over at the VoltBuilder forums and see if anyone has any suggestions. It could be you need a different plugin.

If you are using admob plug in, you need this in your config:

<plugin name="admob-plus-cordova" spec="^2.0.0-alpha.3"><variable name="APP_ID_ANDROID" value="ca-app-pub-admob-id"/></plugin>

Replace “admob-id” with your actual id, it will be a long number with “-” in the middle of it.

I think you also need this plugin:

<plugin name="cordova-plugin-consent" />

Also you need this in your config:

<platform name="android" >
  <preference name="GradlePluginKotlinEnabled" value="true" /> 
  <preference name="AndroidXEnabled" value="true" />
  <resource-file src="www/google-services.json" target="app/google-services.json" />
</platform>

Replace “app/google-services.json” with the actual file path.

From memory you need to get the google-services.json file form your admob account.

For further information see: admob-plus-cordova - npm (npmjs.com) and Getting Started | AdMob Plus (admob-plus.github.io)

I am sorry, I can’t find info on how to download Google-services.json on the 2 site you mention. Already went through admob site before. There isn’t such file on my phone. Could u give me some instructions? I am assuming you are not referring to google.json, which is the Google password file at voltbuilder section.

Sorry, my mistake, you don’t need “google-services.json”, that is for in-app notifications.

voltbuilder04jan2024.log (1.9 KB)


Err png and voltbuilder.log attached. App still show icon then quit… Waiting for prelaunch report… Best rdgs, TsTan

I finally have a cue. From the full summary of prelaunch report, I have missed an important info, my err is indeed a stack error. Eg. A func call b func, b func call c func, c function call d function. Moreover, I have 29 obj, intense math calculation, I’ll need to re-edit my code when I have time, anyway, cny is approaching, gong xi, gong xi!

I del away code for 6 obj, readjust 2 admob id,did a preproduction release. Finally, my app runs fine, but still no ad. Is it after production release, then ad will slowly show?

Forget to mention I got ~6 button alignment err… Got to fix it first…

It looks like you developing a PWA (Progressive Web App), Admob only works with Native apps built with VoltBuilder and then run on an actual device.

I am using voltbuilder with native Android app. Any clue I am having admob difficulty?

Sorry no, without seeing the actual project and build errors its difficult to say, AdMob can be a pain to get working but once set up properly it should work ok.

Be sure to read all the admob plugin guides or try searching for your specific issue on https://stackoverflow.com/search?q=cordova+admob+not+working

As suggested by James its probably best to ask here https://forum.volt.build/ and the admob plugin developer,

I think I saw “this plugin is deprecated” in my play console or run in browser. The link u provided also suggested that when another user in admob run in difficulty in recent android version, where stackoverflow suggested using cordova-plugin-admob-free instead. but I don’t know how to code this plugin, where I don’t know what to put in my config for this plugin. And the code I saw wasn’t using intestertial admob. If u are using admob lately, I think u need a complete rewrite, any possibility you would post the code and config code after u have successfully implemented it? Thanks in advance, TsTan

Hi, I haven’t updated my app that uses AdMob for a while so I haven’t come across any issues (yet).

Your best bet is to follow the documentation for whichever plug-in you decide use, then if you encounter any issues raise it with the plugin developer.