Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android SDKs Are No Longer Available #117

Closed
EmirhanSyl opened this issue Dec 23, 2023 · 4 comments
Closed

Android SDKs Are No Longer Available #117

EmirhanSyl opened this issue Dec 23, 2023 · 4 comments

Comments

@EmirhanSyl
Copy link

Basic information

Estimote SDK version: com.estimote:proximity-sdk:<ALL_VERSIONS>

Android devices affected: Possibly all devices

Android OS version affected: Possibly all versions

Beacon hardware version: All versions

Description

The SDK artefacts are no longer available. JCenter shut down 1 year ago and all the SDKs were located there. Only "proximity-sdk:<1.0.4-1.0.8>" migrated to Jfrog (Can be found here). However proximity-sdk package is dependent with "com.estimote:scanning-plugin:0.25.4" which is located only JCenter and spring.io. JCenter is shutdown. Spring.io requires creditionals(Can be found here). As a result, there is no way to reach these SDKs anymore.

Steps to reproduce:

  1. Open new project in AndroidStudio with any language(Java or Kotlin)
  2. Add SDK as dependency
dependencies {
    ...
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'com.estimote:indoorsdk:2.0.0'
} 

3.Build project

Expected behaviour: Packages imported and build completed.

Actual behavior:

Could not find com.estimote:scanning-plugin:0.25.4.
Required by:
    project :app > com.estimote:proximity-sdk:1.0.7

Additional information

Spring.io libraries requires username and password. There is no way to sign up. Host returns 401 status code.

@MaskedAlkindi
Copy link

Question, so there is no other way to detect estimote beacons anymore, is there any alternative to the proximity sdk to detect proximity of estimote UWB beacons?

@EmirhanSyl
Copy link
Author

I forgot to update the issue. I solved the problem.

As I mentioned, JCenter is no longer active. However, you can still download old repositories from there. To do that you have to add 'JCenter()' to your repositories in the gradle settings file below to maven(). When you do that, Android Studio gives a warning about this repository being deprecated but it still downloads repository content. The real issue is there is no any single quote about this solution in the original Estimote API description. I mean, it is really easy to solve but challenging to find the issue if you don't know anything about JCenter etc...

@MaskedAlkindi
Copy link

Hi, thank you so much for the reply, I am a rookie in android development, could you please provide a small example of how to add repos, I would appreciate it a lot and thank you so much for the time, your a hero!

@EmirhanSyl
Copy link
Author

Sure!

First, you should find the 'settings.gradle' file in your project. After that, you should add jcenter() to repositories section. Here is my settings.gradle file as an example:

pluginManagement { repositories { google() mavenCentral() gradlePluginPortal() jcenter() } } dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() jcenter() maven { url "https://estimote.jfrog.io/artifactory/android-proximity-sdk" } } } rootProject.name = "BeaconProximity" include ':app'

@EmirhanSyl EmirhanSyl closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants