File tree 3 files changed +10
-10
lines changed
onefeedsdk/src/main/java/com/onefeedsdk
3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 2
2
3
3
> # Note
4
4
> WittyFeed SDK API is now ` OneFeed Android SDK ` ,
5
- > New v2.3.15 made live on 08-Dec-2018
5
+ > New v2.3.16 made live on 08-Dec-2018
6
6
7
7
[ ![ Platform] ( https://img.shields.io/badge/Platform-Android-green.svg )] ( # )
8
- [ ![ Source] ( https://img.shields.io/badge/Source-JitPack-brightgreen.svg )] ( https://jitpack.io/private#vatsanatech/OneFeed-Android-SDK/2.3.15 )
8
+ [ ![ Source] ( https://img.shields.io/badge/Source-JitPack-brightgreen.svg )] ( https://jitpack.io/private#vatsanatech/OneFeed-Android-SDK/2.3.16 )
9
9
[ ![ License] ( https://img.shields.io/badge/LICENSE-WittyFeed%20SDK%20License-blue.svg )] ( https://github.com/vatsanatech/OneFeed-Android-SDK/blob/master/LICENSE )
10
10
11
11
## Table Of Contents
@@ -34,7 +34,7 @@ Browse through the example app in this repository to see how the OneFeed SDK can
34
34
35
35
### 1.2. Incorporating the SDK
36
36
37
- 1 . [ Integrate OneFeed with JitPack] ( https://jitpack.io/private#vatsanatech/OneFeed-Android-SDK/2.3.15 )
37
+ 1 . [ Integrate OneFeed with JitPack] ( https://jitpack.io/private#vatsanatech/OneFeed-Android-SDK/2.3.16 )
38
38
39
39
2 . SignUp at [ OneFeed] ( http://www.onefeed.ai/ ) and create a new application to integrate with
40
40
@@ -51,10 +51,10 @@ Browse through the example app in this repository to see how the OneFeed SDK can
51
51
}
52
52
}
53
53
```
54
- * add OneFeed-Android-SDK:2.3.15 in your app level build.gradle
54
+ * add OneFeed-Android-SDK:2.3.16 in your app level build.gradle
55
55
``` gradle
56
56
dependencies {
57
- implementation 'com.github.vatsanatech:OneFeed-Android-SDK:2.3.15 '
57
+ implementation 'com.github.vatsanatech:OneFeed-Android-SDK:2.3.16 '
58
58
}
59
59
```
60
60
Original file line number Diff line number Diff line change 42
42
public class OneFeedSdk {
43
43
44
44
private static final String PREF_DEFAULT = "share-app-pref" ;
45
- public static final String VERSION = "2.3.15" ;
45
+ public final String VERSION = "2.3.15" ;
46
46
public static final String WATER_FALL = "Waterfall" ;
47
47
public static final String H_List = "H-List" ;
48
48
public static final String V_List = "V-List" ;
Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ public void onAdded() {
39
39
40
40
requestBody = new MultipartBody .Builder ()
41
41
.setType (MultipartBody .FORM )
42
- .addFormDataPart ("app_id" , OneFeedSdk .getInstance ().getAppId ())
43
- .addFormDataPart ("device_id" , Util .getAndroidUniqueId ())
44
- .addFormDataPart ("firebase_token" , token )
42
+ .addFormDataPart ("app_id" , "" + OneFeedSdk .getInstance ().getAppId ())
43
+ .addFormDataPart ("device_id" , "" + Util .getAndroidUniqueId ())
44
+ .addFormDataPart ("firebase_token" , "" + token )
45
45
.addFormDataPart ("old_firebase_token" , "" )
46
- .addFormDataPart ("onefeed_sdk_version" , OneFeedSdk .getInstance ().VERSION )
46
+ .addFormDataPart ("onefeed_sdk_version" , "" + OneFeedSdk .getInstance ().VERSION )
47
47
.build ();
48
48
}
49
49
You can’t perform that action at this time.
0 commit comments