본문 바로가기

Mobile

(12)
HttpClearTextTraffic error api 28이상에서는 appmanifest.xml 에서 application > httpcleartext = true 만 적용됨. network_security_config.xml 에서 개별 적용이 안먹힘.
[ionic3][plugin][AdMob free] Cordova is not available [13:04:47] console.warn: Native: tried calling AdMobFree.config, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator[13:04:47] console.warn: Native: tried calling AdMobFree.prepare, but Cordova is not available. Make sure to include cordova.js or run in a device/simulator 1. error / warn > ionic cordova run android --emulator -lc BUILD SUCCESS 이후 EMULATOR 에..
[ionic3][android] 무드등 / 수면등 / 취침등 : Screen Light 안드로이드 구글 플레이 다운로드
[ubuntu][react-native] create-react-native-app 으로 react-native 프로젝트 생성하기 npm5 이슈가 있습니다. 다운그레이드 하시거나 여전히 버그가 있지만 yarn 을 사용해보세요~! 이슈 : https://goo.gl/4DeMZ5 참조 : https://goo.gl/jhVGuP 현재 버전 npm 5.5.1 에서도 해결 되지 않은 거 같습니다. 1. npm4 로 다운 그레이드 후 진행하는 방법 > sudo npm install -g npm@4 다운그레이드 후 create-react-native-app {{프로젝트}} 정상 생성되었습니다. > cd {{프로젝트}}> npm start 2. yarn 설치 후 진행하는 방법 > sudo npm install -g yarn> sudo npm start 이후 진행은 동일합니다, Unable to start server!! error!! > sudo..
[react-native] build error : Could not expand ZIP > {{project}}> react-native run-android react-native 빌드이 후 Could not expand ZIP 만난다면 ubuntu > {{project}}/android/ ./gradlew clean windows > {{project}}/android/ ./gradlew.bat clean
[Ionic2][Visual Studio Code] chrome debugger setting vscode 에서 프로젝트를 열면 .vscode 폴더가 생기고 설정 파일들이 생성되는데 launch.json이 디버거 런처 관련 설정 파일입니다. 여러가지 옵션으로 디버거를 설정 할 수 있습니다. .vscode > launch.json { "name": "Launch", "type": "chrome", "request": "launch", "url": "http://localhost:8100", "port": 9223, "sourceMaps": true, "trace": true, "webRoot": "${workspaceRoot}/src" } 크롬실행 아이콘에서 우클릭 후 속성 창에서 크롬 경로에 하단의 볼드 부분을 추가해줍니다. launch.json 의 port 와 크롬 실행 옵션에 포트가 일치되어야..
[Ionic2] REST Http Request src>app>search.ts import { Injectable, Component } from '@angular/core';import { Http, Response } from '@angular/http';import { NavController, Platform } from 'ionic-angular';import 'rxjs/add/operator/map' @Injectable()@Component({ selector: 'search-search', templateUrl: 'search.html'}) export class Search{ searchQuery: string = ''; items: Array; itemsDummy: Array; result: Object; page: number =..
[Ionic2] ion-infinite-scroll 사용하기 src>app>pages>search.html {{audio.title}} ⚬ {{audio.artist}} {{track.title}} ⚬ {{track.artist}} src>app>pages>search.ts doInfinite(infiniteScroll) { this.limit = 3; let offset = this.page * this.limit; setTimeout(() => {; this.searchList(this.keyword, offset).subscribe( data2 => { for(let index = 0;index < data2.length;index++){ let itemTrack:any; itemTrack = []; itemTrack.art = 'img/johnmayer.j..