Non-game App gets treated as game by Samsung game launcher

痞子三分冷 提交于 2019-11-30 08:58:44

问题


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?


回答1:


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.




回答2:


I was having the same problem and I resolved it by changing app.json package to something like

"android": { "package": "com.youruniquecompanyname.yourappname" },




回答3:


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




回答4:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!