Parse icon indicating copy to clipboard operation
Parse copied to clipboard

Installation initialization failed

Open Garridovic opened this issue 8 years ago • 0 comments

First of all thank you for your time and effort.

I'm using this module succesfully in Android 4 and 5 but in Android 6 I get an error. This is the code:

var Parse = require('eu.rebelcorp.parse');

Parse.start();
Parse.addEventListener('notificationreceive', function(e) {
    Ti.API.error("notificationreceive: ", JSON.stringify(e));
});
Parse.addEventListener('notificationopen', function(e) {
    Ti.API.error("notificationreceive: ", JSON.stringify(e));
    alert(e.alert);
});
Parse.addEventListener('installationId', function(e) {
        Ti.API.error("installationId: ", JSON.stringify(e));
    Parse.subscribeChannel(Alloy.Globals.parse.general);
    Parse.putValue("osVersion", Ti.Platform.osname + " " + Ti.Platform.version);
    Parse.putValue("deviceModel", Ti.Platform.manufacturer + " " + Ti.Platform.model);  
        });

In android 6 the channels, osVersion and deviceModel don't appear in dashboard and I get this error Log in logcat E/ParseModule(979): (main) [633,633] Installation initialization failed: java.lang.IllegalArgumentException: method PUT must have a request body.

Garridovic avatar May 18 '16 10:05 Garridovic