https://github.com/gifflet/tizen-user-app-demo
A sample app for user login integration on Samsung Smart TVs for testing purposes.
https://github.com/gifflet/tizen-user-app-demo
appium node testing tizen user-login web
Last synced: 15 days ago
JSON representation
A sample app for user login integration on Samsung Smart TVs for testing purposes.
- Host: GitHub
- URL: https://github.com/gifflet/tizen-user-app-demo
- Owner: gifflet
- Created: 2025-02-12T15:57:27.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-12T15:57:51.000Z (over 1 year ago)
- Last Synced: 2025-09-29T11:48:39.071Z (8 months ago)
- Topics: appium, node, testing, tizen, user-login, web
- Language: JavaScript
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tizen User App Demo 🚀
## Description
A sample app for user login on Samsung Smart TVs. This application demonstrates how to handle user authentication and display in-app messages.
## Prerequisites 📋
- Node.js (v12 or higher)
- npm (Node Package Manager)
- Tizen SDK (Download from [Tizen Developer](https://developer.tizen.org/development/tizen-studio/download))
## Installation ⚙️
1. Clone the repository:
```shell
git clone https://github.com/gifflet/tizen-user-app-demo.git
cd tizen-user-app-demo
```
2. Download the web SDK using `npm`:
```shell
npm install
```
3. Copy the files into your Tizen Studio workspace.
## Building, Packaging, and Installing the Application on TV 📦
**Note:** You must have the Tizen SDK installed to execute the following commands.
To build, package, and install the application on your Samsung Smart TV without using Tizen Studio, follow these steps:
1. Build the application:
```shell
tizen build-web
```
2. Package the application:
```shell
tizen package -s certificate_profile -t wgt -- .buildResult
```
- **-s certificate_profile**: Specifies the profile to use for signing the package (replace `certificate_profile` with your actual profile name).
- **-t wgt**: Specifies the target package type (WGT for web applications).
- **-- .buildResult**: Indicates the directory containing the build results.
3. Install the application on the TV:
```shell
tizen install -n .buildResult/TizenLoginDemo.wgt -s 192.168.0.14:26101
```
- **-n .buildResult/TizenLoginDemo.wgt**: Specifies the path to the WGT file to install.
- **-s 192.168.0.14:26101**: Specifies the target device's IP address and port (replace with your TV's actual IP address).
## Running the Application Locally 🌐
To run the application locally, use the following command:
```shell
npm start
```
This will start a local server and open the application in your default web browser.
## Running in Tizen Studio 🖥️
1. Open Tizen Studio.
2. In the `Run` menu, choose the `Tizen Web Simulator Application (Samsung TV)` option under `Run As`.
3. This will run the sample app in the simulator.
## Contributing 🤝
Contributions are welcome! Please feel free to submit a pull request or open an issue.