This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // HTTPS 테스트 인증서를 사용하였으므로 url_launcher, permission_handler 패키지를 사용하여 구현하였습니다 | |
| // 정상 인증서를 적용하시면 inAppWebView 를 사용하여 UI로 활용 할 수 있습니다. | |
| // * 패키지 사용 방법 참고 영상 | |
| // (1) url_launcher : https://youtu.be/k7qBTJmAz2Y | |
| // (2) permission_handler : https://youtu.be/3JvN2HL6XR4 | |
| // ... import 생략 | |
| // main.dart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // * Node.js 개발 테스트용 HTTPS pem 생성 | |
| // : 해당 서버 파일의 위치에 keys 폴더를 생성하고 아래의 내용으로 생성한 pem을 담아주세요. | |
| // > openssl genrsa 1024 > private.pem | |
| // > openssl req -x509 -new -key private.pem > public.pem | |
| // * npm i -s expreess https path | |
| var express = require('express'), | |
| app = express(), | |
| fs = require('fs'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Server 파일의 위치에 views 폴더를 생성하여 해당 파일의 이름을 roomUpdate01.html 으로 지정해주셔야합니다 | |
| // 본인 및 상대방 화면 적용 및 오류 대응 | |
| <!DOCTYPE html> | |
| <html lang="ko"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <meta http-equiv="X-UA-Compatible" content="ie=edge" /> | |
| <title>JAMES_DEV_TEST only PeerJS</title> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| import 'package:webview_flutter/webview_flutter.dart'; // ^1.0.7 | |
| void main() => runApp(MaterialApp(home: MyApp(),)); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return Scaffold( | |
| appBar: AppBar(title: Text("카카오 결제")), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| import 'package:webview_flutter/webview_flutter.dart'; // ^1.0.7 | |
| // ignore: avoid_web_libraries_in_flutter | |
| import 'dart:html' as html; | |
| void main() => runApp(MaterialApp(home: MyApp(),)); | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import './App.css'; | |
| function App() { | |
| const AppStyle = { | |
| appBar: { | |
| position: "fixed", | |
| top: 0, | |
| left: 0, | |
| right: 0, | |
| height: "10vh", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import './App.css'; | |
| function App() { | |
| const AppStyle = { | |
| appBar: { | |
| position: "fixed", | |
| top: 0, | |
| left: 0, | |
| right: 0, | |
| height: "10vh", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // WEB Test : https://www.typescriptlang.org/ | |
| // * syntax | |
| // var/let/const 변수명 : 타입 = 값; | |
| // 변수 | |
| var data : string = "변수"; | |
| let data2 : number = 123; | |
| // 상수 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/cupertino.dart'; | |
| void main() => runApp(CupertinoApp(home: MyApp(),)); | |
| class MyApp extends StatefulWidget { | |
| @override | |
| _MyAppState createState() => _MyAppState(); | |
| } | |
| class _MyAppState extends State<MyApp> { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MaterialApp(home: MyApp(),)); | |
| class MyApp extends StatefulWidget { | |
| @override | |
| _MyAppState createState() => _MyAppState(); | |
| } | |
| class _MyAppState extends State<MyApp> { |