Skip to content

Commit

Permalink
update support-v4 library
Browse files Browse the repository at this point in the history
  • Loading branch information
FreshTiti committed Jul 22, 2015
1 parent cb376f6 commit 11a999c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,15 @@ function onPushNotificationToken(event:PushNotificationEvent):void
```

Packaging final app for Android
-------------------------------

When you build your final APK for Android, you need to update (patch) the AIRSDK you're using.
First, make sure you download the latest build-tools (from the Android SDK manager).
Then, patch your AIR SDK with the following command:
`cp pathtoyourANDROIDSDK/build-tools/22.0.1/lib/dx.jar pathtoyourAIRSDK/lib/android/bin/dx.jar`


Notes:
* included binary has been compiled for 64-bit iOS support

Expand Down
Binary file modified android/libs/android-support-v4.jar
Binary file not shown.
4 changes: 4 additions & 0 deletions android/res/values/push_colors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<item name="push_notif_color" type="color">#FF2DA9F9</item>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ protected void onPostExecute(Boolean downloadSuccess)
.setSound(soundUri, AudioManager.STREAM_NOTIFICATION)
.setWhen(System.currentTimeMillis())
.setAutoCancel(true)
.setColor(0xFF2DA9F9)
.setContentIntent(contentIntent);

Notification notification = builder.build();
Expand Down
Binary file modified bin/AirPushNotification.ane
Binary file not shown.

0 comments on commit 11a999c

Please sign in to comment.