Skip to content
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

Cannot install properly on TV #86

Closed
MikkelAJ opened this issue Dec 5, 2019 · 16 comments
Closed

Cannot install properly on TV #86

MikkelAJ opened this issue Dec 5, 2019 · 16 comments
Assignees
Labels
bug Something isn't working need a fix Resolved Resolved issue that can help, keep it open indefinitely

Comments

@MikkelAJ
Copy link

MikkelAJ commented Dec 5, 2019

After a few other problems I finally got to the part where I install the app on the TV. All looks good, I do the step Run As -> 1. Tizen Web Application and on the TV screen it says Twitch loading (I named the project Twitch). After a little while the loading screen disappears and I can see the Icon Smarttv Twitch in my apps. However it cannot launch. It does not launch by itself, when done and nothing happens is I click on the app.

Pressing the Reinstall button in the appstore gives me an error (Unable to install. Please try again later. (Twitch: 52))

I have tried uninstalling, deleting and reinstalling Tizen Studio.
And I have never had another twitch app installed on the TV.

I hope you can hel :)
Thanks in advance

@auto-comment
Copy link

auto-comment bot commented Dec 5, 2019

Thank you for raising a issue.

Make sure you follow the issue templates for yours type of issue see bellow.

Bug report:
https://github.com/fgl27/smarttv-twitch/blob/master/.github/ISSUE_TEMPLATE/bug_report.md

Etc issue that doesn't applies to features or bugs:
https://github.com/fgl27/smarttv-twitch/blob/master/.github/ISSUE_TEMPLATE/etc-related.md

Feature request new app feature:
https://github.com/fgl27/smarttv-twitch/blob/master/.github/ISSUE_TEMPLATE/etc-related.md

Feature request related to a problem:
https://github.com/fgl27/smarttv-twitch/blob/master/.github/ISSUE_TEMPLATE/feature-request-related-to-a-problem.md

Issue that don't properly fallow the templates can be close without any treatment.

I have sent an email to @fgl27 he will get back to you as soon as possible.

@fgl27
Copy link
Owner

fgl27 commented Dec 5, 2019

If you don't follow the proper issue template I can't make any relation on this issue in relation to others.
Seems related to #85

Maybe to a older one, but no one cares to share simple information and share a simple log screenshot.

Install the release app again but this time in debug mode

image

After the app installation it auto starts and a browser windows shows up on the computer, show me the information as the bellow.

image

image

on the resource window click to open the folder to show the same as I share.

@MikkelAJ
Copy link
Author

MikkelAJ commented Dec 5, 2019

I did not previously have a black screen when opening the app, instead it just did not do anything. Now there is a black screen like the issue you linked.

Here is a picture of the console
image

My window does not look exactly like yours, but I think this is what you want me to show:
image

@fgl27
Copy link
Owner

fgl27 commented Dec 5, 2019

what is the full information of that line that is "cut"?

the one that starts with "stack:"

@MikkelAJ
Copy link
Author

MikkelAJ commented Dec 5, 2019

Here:

stack
:
"SecurityError: Permission denied↵ at NativeManager.getErrorObject (:1:23480)↵ at Utils.checkPrivilegeAccess (:1:6907)↵ at TVInputDeviceManager.registerKey (:1:3921)↵ at https://fgl27.github.io/smarttv-twitch/release/githubio/js/master.js:1:66496"

@fgl27
Copy link
Owner

fgl27 commented Dec 5, 2019

OK that doesn't help much as it doesn't show what key is the issue, I have added extra log information on the function that registers keys.

Repeat the process show me what the result is now even if the app works as it may technically do...

@MikkelAJ
Copy link
Author

MikkelAJ commented Dec 5, 2019

It seems to be working as it should on my tv now!
Thank you so much for your time - I am looking forward to using your app

Here is the console anyway (hope you can read it - I had to zoom out to get everything)
image

@fgl27
Copy link
Owner

fgl27 commented Dec 5, 2019

All extra key fail to register, so you can use the app but that will not be a OK experience as the app uses those extra key to give you a better experience... even tho it works only with the d-pad...

So I made this new zip to see if the issue is now solved check it bellow

try install the app the same way in debug mode but using that zip as its content. you need to start a new project in tizen for this to work properly.

release_new.zip

@fgl27
Copy link
Owner

fgl27 commented Dec 5, 2019

as this as privileged issue and is unknown why it happens in some TVs, is necessary to properly fix as there may be some app featuring not working do to missing permission...

So if that zip fix that issue, we OK, if not we must investigate why it fails...

@MikkelAJ
Copy link
Author

MikkelAJ commented Dec 5, 2019

So you want me to install a new version to see it is a fix?

@fgl27
Copy link
Owner

fgl27 commented Dec 5, 2019

yes install that release_new.zip show me the log

@MikkelAJ
Copy link
Author

MikkelAJ commented Dec 5, 2019

This gives black screen on TV as well

image

@fgl27
Copy link
Owner

fgl27 commented Dec 5, 2019

I see I fix that... but the test remains the same it fails...

Maybe the keys can't be registered from a file from the web...

So I will make a new zip that registers key locally to see what happens

I share it in a few...

@fgl27
Copy link
Owner

fgl27 commented Dec 5, 2019

please test this...
release_new_2.zip

show me the log result

@MikkelAJ
Copy link
Author

MikkelAJ commented Dec 5, 2019

That seems to work too!

I wont be able to test anymore until tomorrow

image

@fgl27
Copy link
Owner

fgl27 commented Dec 5, 2019

Yes all works I made two options of the function and they all now works but the version 2 (2Registering...) isn't needed, so isn't need a new zip, you can use the one you already have installed no problem, but the old release_4_0_1_V4.zip will also work just fine.

Thanks for the help.

@fgl27 fgl27 self-assigned this Dec 5, 2019
@fgl27 fgl27 added the bug Something isn't working need a fix label Dec 5, 2019
@fgl27 fgl27 added the Resolved Resolved issue that can help, keep it open indefinitely label Dec 5, 2019
@fgl27 fgl27 closed this as completed Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need a fix Resolved Resolved issue that can help, keep it open indefinitely
Projects
None yet
Development

No branches or pull requests

2 participants