capacitor.config.ts

import type { CapacitorConfig } from '@capacitor/cli';

const config: CapacitorConfig = {
  appId: 'io.ionic.starter',
  appName: 'HrMobile',
  webDir: 'www',
  server: {
    'cleartext': true,
    "allowNavigation": ['*'],
    "androidScheme": 'http',
    "iosScheme": 'http'
  }

};

export default config;

发表评论