capacitor-google-nearby-messages
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -92,2 +92,3 @@ import { PluginListenerHandle } from '@capacitor/core'; | ||
status(): Promise<Status>; | ||
requestPermission(): Promise<void>; | ||
addListener(eventName: 'onPermissionChanged', listenerFunc: (permissionGranted: boolean) => void): PluginListenerHandle; | ||
@@ -94,0 +95,0 @@ addListener(eventName: 'onBleSignalChanged', listenerFunc: (message: Message, bleSignal: BleSignal) => void): PluginListenerHandle; |
@@ -21,4 +21,5 @@ import { WebPlugin } from '@capacitor/core'; | ||
status(): Promise<Status>; | ||
requestPermission(): Promise<void>; | ||
} | ||
declare const GoogleNearbyMessages: GoogleNearbyMessagesWeb; | ||
export { GoogleNearbyMessages }; |
@@ -89,2 +89,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
} | ||
requestPermission() { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
console.log("requestPermission"); | ||
throw new Error("Method not implemented."); | ||
}); | ||
} | ||
} | ||
@@ -91,0 +97,0 @@ const GoogleNearbyMessages = new GoogleNearbyMessagesWeb(); |
{ | ||
"name": "capacitor-google-nearby-messages", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "Plugin to leverage the Google Nearby Messages API for communication with nearby devices.", | ||
@@ -5,0 +5,0 @@ "main": "dist/esm/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1772229
3342