Skip to content

Commit

Permalink
fix(): build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsogl committed Apr 9, 2018
1 parent 29d668c commit f70eaea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
3 changes: 0 additions & 3 deletions src/@ionic-native/plugins/apple-pay/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs/Observable';
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
import { Injectable } from '@angular/core';
import { Observable } from 'rxjs';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';

Expand Down
2 changes: 0 additions & 2 deletions src/@ionic-native/plugins/background-mode/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
import { Observable } from 'rxjs/Observable';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
import { Observable } from 'rxjs';

/**
Expand Down
14 changes: 7 additions & 7 deletions src/@ionic-native/plugins/google-nearby/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
import { Observable } from 'rxjs/Observable';
import { Observable } from 'rxjs';

/**
* @name google-nearby
Expand All @@ -17,7 +17,7 @@ import { Observable } from 'rxjs/Observable';
* this.googleNearby.publish('Hello')
* .then((res: any) => console.log(res))
* .catch((error: any) => console.error(error));
*
*
* this.googleNearby.subscribe()
* .then((res: any) => console.log(res))
* .catch((error: any) => console.error(error));
Expand All @@ -28,13 +28,13 @@ import { Observable } from 'rxjs/Observable';
plugin: 'cordova-plugin-google-nearby',
pluginRef: 'window.nearby',
repo: 'https://github.com/hahahannes/cordova-plugin-google-nearby',
install: 'ionic cordova plugin add cordova-plugin-google-nearby --variable API_KEY="123456789"',
install:
'ionic cordova plugin add cordova-plugin-google-nearby --variable API_KEY="123456789"',
installVariables: ['API_KEY'],
platforms: ['Android']
})
@Injectable()
export class GoogleNearby extends IonicNativePlugin {

/**
* Publish a message
* @param message {string} Message to publish
Expand All @@ -45,9 +45,9 @@ export class GoogleNearby extends IonicNativePlugin {
return;
}

/**
* Subscribe to recieve messages
* @return {Observable<any>} Returns an observable that emits recieved messages
/**
* Subscribe to receive messages
* @return {Observable<any>} Returns an observable that emits received messages
*/
@Cordova({
observable: true,
Expand Down

0 comments on commit f70eaea

Please sign in to comment.