Does Parse still works for Android ?!

Does Parse still works for Android ?!

I'm trying to push a notificaiton on Android with Parse

1) there's no reference to Delphi on the Parse site
https://www.parse.com/docs

2) my mobile is displayed in the device list on Parse site

3) Parse says that the notification is sent

4) even with the Application started on the mobile, with the right ParseEvents.DeviceToken (same as the one on Parse site) I do not receive any notification.

Delphi Seattle SP1.

There's only one special thing in my application, the Parse component is created in the FormCreate event of the main form because I need different settings for DEBUG and RELEASE mode :

procedure TMainForm.FormCreate(Sender: TObject);
var
  ParseProvider1: TParseProvider;
begin
  ParseProvider1 := TParseProvider.Create(Self);
{$IFDEF DEBUG}
  ParseProvider1.AndroidPush.InstallationID := 'xx1';
  ParseProvider1.ApplicationID := 'yy1';
  ParseProvider1.RestApiKey := 'zz1';
  ParseProvider1.MasterKey := 'uu1';
{$ELSE}
  ParseProvider1.AndroidPush.InstallationID := 'xx2';
  ParseProvider1.ApplicationID := 'yy2';
  ParseProvider1.RestApiKey := 'zz2';
  ParseProvider1.MasterKey := 'uu2';
{$ENDIF}
  PushEvents1.Provider := ParseProvider1; 
end;

I haven't found any other solution to avoid TParseProvider to register with wrong values.

Comments