Skip to content

project.targetOptions.android_native is ignored by kmake #1529

@RblSb

Description

@RblSb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions