-
-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes Issue #11 (and 20) #28
Conversation
HI @Daxito ..... IN my node_modules > NativeScript-background-http folder i have background-http.android.js file .. by replacing with your code with .ts file its showing some error can you have any other way |
@JaganJonnala What error you mean? the line of code I added are the same for ts file or js file (the two lines of code I added), do you mean that red underline? just ignore them and test it out to see if it works for you, no other changes required. |
Well, if js file then it should be |
java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Error calling module function Error calling module function Error calling module function TypeError: Cannot read property 'gotev' of undefined StackTrace: TypeError: Cannot read property 'gotev' of undefined |
@Daxito Showing this error .... I have Written as var net; |
Getting this error while uploading imagejava.lang.RuntimeException: Error receiving broadcast Intent { act=net.gotev.uploadservice.broadcast.status flg=0x10 (has extras) } in com.tns.gen.net.gotev.uploadservice.UploadServiceBroadcastReceiver_ftns_modules_nativescript-background-http_background-http_l6_c70__@66ab662 TypeError: Cannot read property 'push' of undefined StackTrace: |
My Code:
|
Maybe your this.events variable is not defined, are you sure you have it defined somewhere? if so try not to use |
Fixes issue #11 , #20 and #27