Angular 2 MBAAS

I am trying to find an MBAAS that works with Angular 2 (I use Ionic 2) for several days. Parse shuts down, so it's really not an option for me and the others I tried (Firebase, Backendless, etc.). It seems that it does not yet have an Angular 2 SDK.

Perhaps I was impatient, but I really want to start working with it now, but I can’t live without a decent SDK.

Yes, I can use the REST API if I really wanted it, but I feel that this will limit the possibility of simple push notifications, etc., that the application will need.

So the questions: Does anyone know about MBAAS that supports Angular 2, and does it have a lib to support push notifications and data storage?

Edit:

So, for example, trying to use mbaas backend divers in Angular 2, I tried the following:

Composition:

 - app
 - app.js
 - backendless.js
 -- pages
 --- home
 ---- home.html
 ---- home.js
 ---- home.scss
 -- theme

app.js

import {App, Platform} from 'ionic-angular';
import {HomePage} from './pages/home/home';
import {Backendless} from 'backendless';

@App({
  template: '<ion-nav [root]="rootPage"></ion-nav>',
  config: {} // http://ionicframework.com/docs/v2/api/config/Config/
})
export class NotOnFileApp {
  static get parameters() {
    return [[Platform]];
  }

  constructor(platform) {
    this.rootPage = HomePage;

    platform.ready().then(() => {
      // The platform is now ready. Note: if this callback fails to fire, follow
      // the Troubleshooting guide for a number of possible solutions:
      //
      // Okay, so the platform is ready and our plugins are available.
      // Here you can do any higher level native things you might need.
      //
      // First, let hide the keyboard accessory bar (only works natively) since
      // that a better default:
      //
      // Keyboard.setAccessoryBarVisible(false);
      //
      // For example, we might change the StatusBar color. This one below is
      // good for dark backgrounds and light text:
      // StatusBar.setStyle(StatusBar.LIGHT_CONTENT)

      Backendless.initApp( 'XXXXX', 'XXXXX', 'v1' );

    });
  }
}

: " initApp undefined", , js- . , ?

+4
2

, , , Google, , . . , , , .

npm:

npm install backendless

app.js :

import 'backendless';

. .

Backendless.initApp( 'XXXXX', 'XXXXX', 'v1' );

, , , .

+2

Batch.com Push Notification Firebase

https://batch.com/parse-replacement-with-firebase

0

All Articles