Notice
Recent Posts
Recent Comments
Link
EduTech & AI 인공지능 & IT관련 소식
apns세팅방법 및 ionic2에 파이어베이스 설치하기 본문
apns세팅방법 및 ionic2에 파이어베이스 설치하기
cordova plugin remove phonegap-plugin-push
ionic2-firebase
- Run npm install
- Add platforms: ionic platform add android and ionic platform add ios
- Install plugin cordova plugin add cordova-plugin-fcm --save
- Create project on https://console.firebase.google.com
- Add 2 new apps - one for Android and one for iOS
- Copy google-service.json file to main project directory (the same directory of config.xml) for Android.
- Look google-service.json if api-key is not empty. If so, download it again.
- ionic run android to run app on Android
- ionic prepare ios and run project in XCode - copy file into main directory Tree and follow that steps
- Go to your project in https://console.firebase.google.com and select Notifications from menu -> *New message -> select your app, add message and click send
sudo gem install -n /usr/local/bin cocoapods
--gem install cocoapods:1.1.1
--sudo gem update
'Tech. > iphone' 카테고리의 다른 글
아이폰개발 - XCode9: iPhone is busy 메시지 관련 (0) | 2017.10.17 |
---|---|
ios 11 달라진 개선점 (0) | 2017.10.12 |
Comments