So I recently switched to the master branch and started to integrate background/scheduled notification on android. Let's see how I fixed some problems I faced. We start by packaging the project for android (ETC1). Everything goes smoothly and we end up with 4 files on our build folder:

Plug in on our phone and double click the Install* batch file.

What!? How did that happen? My oneplus one has like 20gigs of storage left! Let's open up that batch file on our favorite program (Sublime text
).
With a quick glance and a googling attempt I found out that this like is causing issues.
The -s flag indicates that our app should be installed on external storage(aka sd card). This is stupid because many phones may either not support an sd card (OnePlus One, Nexus, etc) or may not have an sd card plugged in! REMOVE THAT LINE. Continuing into further investigation of the code I also found out about a couple of other problems:
1) The
line causes problems. It simply shuts down the command prompt without giving us time to take a look into the messages printed on the screen. Add a :eof marker before the @pause on the end of the file.
2)
This line forces you to use nVidias codeworks for your sdk and your adb. Sometimes you might not want to do that and use your own sdk and adb (that you have installed through SDK manager probably). Changing these lines is your choice though.
Plug in on our phone and double click the Install* batch file.
What!? How did that happen? My oneplus one has like 20gigs of storage left! Let's open up that batch file on our favorite program (Sublime text

With a quick glance and a googling attempt I found out that this like is causing issues.
Code:
if not "%1"=="" set DEVICE=-s %1
1) The
Code:
goto:eof
2)
Code:
set ANDROIDHOME=%ANDROID_HOME% if "%ANDROIDHOME%"=="" set ANDROIDHOME=E:/NVPACK/android-sdk-windows set ADB=%ANDROIDHOME%\platform-tools\adb.exe
Comment