It only knows about android, so setting this in khafile has no effect:
const android = project.targetOptions.android_native;
android.permissions = [
'android.permission.VIBRATE',
'android.permission.INTERNET'
];
Incorrect wiki info: https://github.com/Kode/Kha/wiki/khafile.js#set-specific-options-for-the-android-native-target
I think INTERNET permission should be added to kmake android exported defaults, so apps will not crash on http requests.
I also wonder if we can remove android-java target now, this will be hard to compile without haxe java target with a jvm one i think.
It only knows about
android, so setting this in khafile has no effect:Incorrect wiki info: https://github.com/Kode/Kha/wiki/khafile.js#set-specific-options-for-the-android-native-target
I think
INTERNETpermission should be added to kmake android exported defaults, so apps will not crash on http requests.I also wonder if we can remove android-java target now, this will be hard to compile without haxe java target with a jvm one i think.