liyayan %!s(int64=5) %!d(string=hai) anos
pai
achega
079246c21b

+ 1 - 1
src/app/app.module.ts

@@ -17,7 +17,7 @@ import { NetworkService } from './shared/servers/network.service';
 import { AuthHttpInterceptor } from './shared/interceptors/auth-http.interceptor';
 import { Device } from '@ionic-native/device/ngx';
 import { Camera } from '@ionic-native/camera/ngx';
-import { NativeService } from './shared/servers/native.Service';
+import { NativeService } from './shared/servers/native.service';
 import { FileTransfer} from '@ionic-native/file-transfer/ngx';
 
 @NgModule({

+ 1 - 1
src/app/shared/compenents/map/map-location/map-location.component.ts

@@ -1,7 +1,7 @@
 import { Component, OnInit, ViewChild, ElementRef, Input } from '@angular/core';
 import { AlertController } from '@ionic/angular';
 import { GaoDeLocation,PositionOptions  } from '@ionic-native/gao-de-location/ngx';
-import { NativeService } from 'src/app/shared/servers/native.Service';
+import { NativeService } from 'src/app/shared/servers/native.service';
 declare var AMap: { Map: new (arg0: any, arg1: { view: any; }) => void; View2D: new (arg0: { zoom: number; rotateEnable: boolean; showBuildingBlock: boolean; }) => void; plugin: (arg0: string[], arg1: () => void) => void; ToolBar: new () => void; };
 /**
  * 地图组件

+ 10 - 0
src/app/shared/servers/Native.Service.ts

@@ -19,11 +19,21 @@ export class NativeService {
                 public logger: Logger, 
                 private platform: Platform,   
          
+
+
+
+
+
+
+
              ) {
     }
    /**
    * 是否真机环境
    */
+  /**
+   * 是否真机环境
+   */
   isMobile(): boolean {
     return this.platform.is('mobile') && !this.platform.is('mobileweb');
   }