hahahannes / cordova-plugin-google-nearby

Cordova plugin with support for the Google Nearby Messages API
MIT License
10 stars 8 forks source link

Add unpublish methods #4

Closed aberamseyer closed 3 years ago

aberamseyer commented 5 years ago

According to the documentation on this API, publishing a message should always be accompanied by un-publishing the same message because the nearby API can be very battery intensive. I added a call to that method as shown in the linked documentation.

I've never done any development for cordova plugins, so I don't know how to test this. I just copied the format from your other methods, and I assume it should work. Please test this before accepting it, because I don't know how.

hahahannes commented 5 years ago

Thanks a lot! I will have a look.

bettysteger commented 3 years ago

@hahahannes can you merge this?

hahahannes commented 3 years ago

Hi @lpsBetty and @aberamseyer, sorry for the late reply. Will do!