question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RegionBootstrap constructor parameters

See original GitHub issue

https://github.com/AltBeacon/android-beacon-library/blob/b9876b45acd6c72c84b8d0325062259020eb89ba/lib/src/main/java/org/altbeacon/beacon/startup/RegionBootstrap.java#L49

As a SDK developer, I get Application context from App and implement BootstrapNotifier in the SDK. With the current constructors, I’m not able to set the two different parameter in one. I found a solution by creating a custom RegionBootstrap. In case of someone needs such a solution like I did, you may add new constructors or I can send PR if it makes sense for you.

public RegionBootstrap(BootstrapNotifier bootstrapNotifier, Application application, Region region) {

public RegionBootstrap(BootstrapNotifier bootstrapNotifier, Application application, List<Region> regions) {

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
davidgyoungcommented, Feb 4, 2019

OK, cool. Do you maybe want to play with an implementation like that in your code, make sure it works OK, then issue a PR?

0reactions
davidgyoungcommented, Feb 10, 2019

Fixed in #821, released in 2.16.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to get visible beacons from the RegionBootstrap ...
I'm using the example code on this page (http://altbeacon.github.io/android-beacon-library/samples.html) in the Starting an App in the Background section and I' ...
Read more >
BeaconManager.getInstanceForApplication - Java - Tabnine
Constructor to bootstrap your Application on an entry/exit from a single region. ... "Applying settings changes to scanner in other process"); BeaconManager ...
Read more >
CHANGELOG.md
3.1.0. This version supports the Dart language feature constructor tearoffs, pending completion by other tools. Allow embedded type parameters in comment ...
Read more >
org.altbeacon.beacon.logging.LogManager#d
Source Project: android-beacon-library File: RegionBootstrap.java ... Constructor to bootstrap your Application on an entry/exit from a single region.
Read more >
How to access the constructor parameters of a ... - YouTube
Java Source Code here:http://ramj2ee.blogspot.com/2017/10/how-to-access- constructor - parameters -of.htmlClick the below link to download the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found