tns-ng-deeplink icon indicating copy to clipboard operation
tns-ng-deeplink copied to clipboard

Using --bundle no avail

Open jgerryl opened this issue 6 years ago • 1 comments

Hi @ddfreiling thanks for the great tutorial. I've managed to use deeplink with this tutorial. But i cannot use this when using tns run android --bundle.

There is an error in my bundle saying that all method (e.g. onCreate etc) is protected and can only be accessed by Activity class and all subclasses...

and also i cannot use the lib.core.d.ts in reference.d.ts

jgerryl avatar Jul 02 '18 07:07 jgerryl

@jgerryl The problem is the extend method is overwrite by typescript. I think {N} have include all the helper function since 5.0 although I haven't tested it. You can also try this repo: https://github.com/m-abs/nativescript-tslib

You will need add these to your tsconfig.json

"noEmitHelpers": true,
"importHelpers": false,

gogoout avatar Nov 13 '18 21:11 gogoout