Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardLuo0 committed Apr 5, 2019
2 parents 9374d60 + a116c55 commit 10faa55
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@

This app is for forwarding your notification from one phone to another using the fcm tunnel

## What you need
## What do you need
* 一台旧手机作为服务器(An old phone used as server)
* 一台可以接收fcm推送的主力机(Your daily phone which could receive fcm push)
* 完成!(finish!)

## What you need to do
## What do you need to do
* 下载最新release(Download the latest release)
* 为两台手机安装(Install for both phones)
* 将主力机上的token(就是那堆乱码)复制到server的输入框中(Copy the token from daily phone to the input box on the server)
Expand All @@ -19,10 +18,10 @@ This app is for forwarding your notification from one phone to another using the
### Only for users from China
* 服务端可能必须24小时挂梯!

# if you want to compiler by yourself
# if you want to compile by yourself
* 下载源码(Download the source code)
* 在firebase中建立新项目(Create a new project in firebase)
* 根据Google的firebase文档加入google-services.json文件(Add google-services.json file according to the official document of Google)
* 修改NotificationPush/app/src/main/java/com/RichardLuo/notificationpush/GetNotification.java中的常量Authorization和Sender为自己相应内容,你应该参照旧版fcm推送方法进行修改!
(Change the constant 'Authorization' and 'Sender' to what you have in firebase console(old one))
* 编译(Compiler)
* 编译(Compile)

0 comments on commit 10faa55

Please sign in to comment.