mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Merge pull request #830 from charithag/master
Fixed https://github.com/wso2/product-iots/issues/1423
This commit is contained in:
commit
892be7308f
@ -74,8 +74,8 @@ public class EventReceiverServiceImpl implements EventReceiverService {
|
||||
JsonObject jsonObject = gson.fromJson(eventPayload, JsonObject.class);
|
||||
Object payload[] = {
|
||||
jsonObject.get(TIME_STAMP).getAsLong(),
|
||||
jsonObject.get(LONGITUDE).getAsDouble(),
|
||||
jsonObject.get(LATITUDE).getAsDouble()
|
||||
jsonObject.get(LATITUDE).getAsDouble(),
|
||||
jsonObject.get(LONGITUDE).getAsDouble()
|
||||
};
|
||||
try {
|
||||
if (AndroidAPIUtils.getEventPublisherService().publishEvent(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user