ionic 3 Push Notification configuration

Hi,

I am working on a timer in backendless using codeless, the timer checks every day for tasks not done for the user and send a reminder using push notifications (2 weeks before, 1 week before, 1 day before, due date) and I want to use Ionic to make an Hybrid app. I already have the server key, the sender ID and the config json file from firebase (I want to test with my android phone) but how do I configure Ionic to work with backendless and make use of the api services?

I Downloaded the JS Project from but I can’t make it work for ionic 3, I get many Typescript Error ‘,’ expected.
For example:

node_modules/backendless/backendless.d.ts addCreateListener<T=object>(callback: (obj: T) => void): Backendless.EventHandler; removeCreateListeners(whereClause: string): Backendless.EventHandler;

Hi Carlos

Thanks for sharing the issue with us.
The problem is with version of Typescript npm package, in the generated JS project used typescript@2.0, but our JS-SDK requires Generic parameter defaults, and the feature supported only since typescript@2.3
http://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-3.html

So, you need to upgrade typescript version in your project, I recommend you to upgrade the package to the latest version 2.9.

I’ve create an internal ticket BKNDLSS-17343 to fix the version in the Project Template

Thanks, Vlad

excellent!!! thank you very much

Vladimir, I have been trying to make the project work, investigating before posting again, but I am stuck with another TypeScript error:

Typescript Error
Class ‘NavControllerBase’ incorrectly implements interface ‘NavController’. Types of property ‘popTo’ are incompatible. Type ‘(indexOrViewCtrl: any, opts?: NavOptions, done?: Function) => Promise’ is not assignable to type ‘(page: any, params?: any, opts?: NavOptions, done?: Function) => Promise’. Types of parameters ‘done’ and ‘opts’ are incompatible. Type ‘NavOptions’ is not assignable to type ‘Function’. Property ‘apply’ is missing in type ‘NavOptions’.

and

Typescript Error
Class ‘Subject<T>’ incorrectly extends base class ‘Observable<T>’. Types of property ‘lift’ are incompatible. Type ‘<T, R>(operator: Operator<T, R>) => Observable<T>’ is not assignable to type ‘<R>(operator: Operator<T, R>) => Observable<R>’. Type ‘Observable<T>’ is not assignable to type ‘Observable<R>’. Type ‘T’ is not assignable to type ‘R’.

Can you please help me?