Skip to content

Commit

Permalink
Merge branch 'jk/dont-use-photon-image-and-label-for-products'
Browse files Browse the repository at this point in the history
  • Loading branch information
jensck committed Feb 15, 2019
2 parents 7e201aa + 5fe767c commit 7b1c85f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
5 changes: 5 additions & 0 deletions app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2.3.11
======
- Fix Photon claiming issue
- Don't show unknown "product" devices as Photons, just show them as "other"/unknown

2.3.10
======
- Automatic device type detection when starting setup
Expand Down
5 changes: 3 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ android {
applicationId 'io.particle.android.app'
minSdkVersion 21
targetSdkVersion 28
versionCode 102031003
versionName "2.3.10"
// scheme for these version numbers: EPOCH MAJOR MINOR PATCH BUILD
versionCode 1_02_03_11_01
versionName "2.3.11"

vectorDrawables.useSupportLibrary = true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ class ParticleDevice internal constructor(
}

enum class ParticleDeviceType {
OTHER,
CORE,
PHOTON,
P1,
Expand Down Expand Up @@ -211,7 +212,7 @@ class ParticleDevice internal constructor(
88 -> RED_BEAR_DUO
103 -> BLUZ
6 -> PHOTON
else -> PHOTON
else -> OTHER
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public static void init(Context ctx, final Class<? extends Activity> mainActivit
* Activity here)
*/
public static void init(Context ctx) {
init(ctx, true);
init(ctx, false);
}

/**
Expand All @@ -166,7 +166,7 @@ public static void init(Context ctx) {
* Activity here)
*/
public static void initWithSetupOnly(Context ctx) {
init(ctx, false);
init(ctx, true);
}

public static ParticleDeviceSetupLibrary getInstance() {
Expand Down

0 comments on commit 7b1c85f

Please sign in to comment.