Whenever I open my android app it triggers the game mode/game launcher on samsung galaxy s8. But the app isn't a game. In a previous version the app used opengl and it seems like samsung treats an app as game if it uses opengl. I already removed the opengl code but samsung still treats the app as game. The strange thing is when I change the application-id the app launches normally. So, I think samsung stores the application-id as game somewhere. Anyone ever had a similar problem with samsung game launcher?
I was having the same problem and I resolved it by changing app.json
package to something like
"android": {
"package": "com.youruniquecompanyname.yourappname"
},
this problem happens if the package name is "com.exmaple" only Samsung detect it as game i do not know why, after i change the package name to "com.exmaple.android" it worked fine.
this can be fixed in the google play services if i'm not mistaken you should check there at this time i'm actually a bit busy maybe when done i can check please more info about your problem
For Cordova v8.0.0:
You need to change the default package name in config.xml
from:
io.cordova.hellocordova
to your own, for example:
com.yourcompanyname.yourappname
来源:https://stackoverflow.com/questions/50174122/non-game-app-gets-treated-as-game-by-samsung-game-launcher