Latest sdk for android - com.estimote:sdk:0.9.1@aar

from previous version everything is work but when I update and sync I got this error message below.

  • compile ‘com.estimote:sdk:0.8.7@aar’ to compile ‘com.estimote:sdk:0.9.1@aar’

Error:(93, 49) error: no suitable constructor found for Region(String,String,,)
constructor Region.Region(Parcel) is not applicable
(actual and formal argument lists differ in length)
constructor Region.Region(String,UUID,Integer,Integer) is not applicable
(actual argument String cannot be converted to UUID by method invocation conversion)

Yes, in version 0.9 version ( we introduced some breaking changes. In particular how Region constructor looks like.

We need to introduce from time to time some breaking changes to keep SDK better.

after I update the code, I can’t detect any beacon. Please see the code below. Thanks.

new SecureRegion(“regionId”, UUID.fromString(“B9407F30-F5F8-466E-AFF9-25556B57FE6D”), null, null);

Note that SecureRegion is designed to be used with Secure UUID feature with beacons. To work as previously, use just Region object as before.

Alrights, thanks sir!