We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried modifyingapps\demo\nativescript.config.ts like the following which works for iOS. But it does not work for Android.
apps\demo\nativescript.config.ts
import { NativeScriptConfig } from '@nativescript/core'; export default { - id: 'org.nativescript.plugindemo', + id: 'com.xulihang.nativescript', appResourcesPath: '../../tools/assets/App_Resources', android: { v8Flags: '--expose_gc', markingMode: 'none', }, appPath: 'src', cli: { packageManager: 'npm' } } as NativeScriptConfig;
The text was updated successfully, but these errors were encountered:
@xulihang You set the bundle ID in package.json
We read this value in our nativesceript.config.ts
Of course, these are just demo apps and this configuration is from an actual project so you will need to amend the paths to suit your demos.
import { NativeScriptConfig } from '@nativescript/core'; import { readFileSync } from 'fs'; const { name } = JSON.parse(readFileSync('./package.json', 'utf-8')); export default { name, id: name, appResourcesPath: 'App_Resources', android: { v8Flags: '--expose_gc', markingMode: 'none' }, useLegacyWorkflow: true, } as NativeScriptConfig;
Sorry, something went wrong.
No branches or pull requests
I tried modifying
apps\demo\nativescript.config.ts
like the following which works for iOS. But it does not work for Android.The text was updated successfully, but these errors were encountered: