Skip to content

Commit

Permalink
Change getUUID() to getId() to match Android SDK change.
Browse files Browse the repository at this point in the history
Add android xmlns to plugin.xml
  • Loading branch information
Jason Lai committed May 20, 2014
1 parent 21dc503 commit 108e966
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="com.connectsdk.cordovaplugin" version="1.2.0">
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="com.connectsdk.cordovaplugin" version="1.2.0">

<name>Connect SDK</name>
<description>Connect SDK allows discovery and communication with LG TVs and other smart devices on the local network.</description>
Expand Down
2 changes: 1 addition & 1 deletion src/android/ConnectableDeviceWrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class ConnectableDeviceWrapper implements ConnectableDeviceListener {
public ConnectableDeviceWrapper(ConnectSDKCordova plugin, ConnectableDevice device) {
this.plugin = plugin;
this.device = device;
this.deviceId = device.getUUID();
this.deviceId = device.getId();
this.dispatcher = new JSCommandDispatcher(this);
}

Expand Down

0 comments on commit 108e966

Please sign in to comment.