change react version in travis build script to 16.0.0

This commit is contained in:
Akinwale Ariwodola 2017-12-27 12:55:04 +01:00
parent 6edd6c3c43
commit eb5391eba7
2 changed files with 2 additions and 1 deletions

View file

@ -12,7 +12,7 @@ install:
- sudo pip install --upgrade cython==0.25.2 pip setuptools
- git clone https://github.com/akinwale/buildozer.git
- cd app
- npm install --silent --save react@16.2.0 react-native
- npm install --silent --save react@16.0.0 react-native
- cd ..
- cd buildozer
- sudo python setup.py install

View file

@ -98,6 +98,7 @@ public class PythonService extends Service implements Runnable {
.setContentText(serviceDescription)
.setContentIntent(pIntent)
.setWhen(System.currentTimeMillis())
.setSmallIcon(android.R.drawable.ic_dialog_info)
.setOngoing(true)
.build();
startForeground(1, notification);