Skip to content

Commit

Permalink
Change Platform Name
Browse files Browse the repository at this point in the history
 bluemix-mobile-services/bmd-project-applauch#627
  • Loading branch information
vittalpai committed Feb 19, 2018
1 parent 44789e7 commit a25ab07
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,13 @@ private static int getOSVersion() {

private static String getPlatform() {
// return Locale.getDefault().getLanguage();
return "android";
return "G";
}

public static JSONObject getInitJson(Application application) {
JSONObject initObject = new JSONObject();
try {
// initObject.put("model", getModel());
// initObject.put("brand", getBrand());
// initObject.put("OSVersion", getOSVersion());
initObject.put("platform", getPlatform());
// initObject.put("appId", getPackageName(application));
// initObject.put("appVersion", "1.0.0");
// initObject.put("appName", getAppName(application));
} catch (JSONException e) {
initObject = null;
logger.error("Error creating init json " + e.getMessage());
Expand Down

0 comments on commit a25ab07

Please sign in to comment.