android - AndroidNativeBeacons returning a 500 error with MobileFirst Platform -
intending implement monitoring , ranging of beacons in android application ibmmobilefirst.
link procedure , sample project
also used android beacon library application.
successfully installed apk in samsung galaxy tab 3 , option load beacons , triggers returning 500 error , not able detect nearby beacons.
error - wlbeaconsandtriggersjsonstoremanager.loadbeaconsandtriggers() failed: wlresponse[invocationcontext=null,reponsetext=,,status=500]wlfailresponse[errormsg=unexpected errorcode occured.please try again.,errorcode=unexpected_error]
the wlclient.properties file seems need amendments ,
wlserverprotocol = http wlserverhost = wlserverport = 10080 wlservercontext = /beaconsnative/ wlappid = androidnativebeacons wlappversion = 1.0 wlenvironment = androidnative wluid = wy/mbnwktddyquvuqcdsgg== wlplatformversion = 7.0.0.00.20150227-0916
also ,
the registration of beacons done , makes use of (put) rest api beacons detection. not clear use of rest api , detecting nearest beacon device.
in native android project of beacons mobilefirst , api returns 500 error , , indeed not detecting nearby beacons.
can above configuration, or functionality going wrong .thanks. appreciated.
the android client needs connect server sample work.
for , in wlclient.properties wlserverhost should populated mfpf server's ip.
detecting beacon occurs @ client side (on device) , not @ server. rest api used register customer-specific beacon data server. example, store or location beacon deployed. rest apis used manage beacon data stored in server.
more details here -
Comments
Post a Comment