Skip to content

Commit

Permalink
Updated to iOS native SDK 2.3.2 and Android SDK 3.4.2
Browse files Browse the repository at this point in the history
iOS
* Fixes issues with opened and received callbacks.
* Added additional notification_types status for "No Push Token" to help debug issues which will show on the OneSignal dashboard.
* Fixed rare crash with postNotification.
* Fixed issue opening a 2nd URL notification not showing a webview.
* Added validation to syncHashedEmail.
* Fixed issue where an iOS 10 media notification could hang the main thread when downloading it.

Android
* Added support for badges on older Samsung devices as well as OPPO an ZUK devices.
* Fixed SyncService logcat error.
  • Loading branch information
jkasten2 committed Dec 6, 2016
1 parent 07606c9 commit b322f03
Show file tree
Hide file tree
Showing 43 changed files with 42 additions and 4,364 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Bin/
obj/

*.suo

# Ignore Mac OSX and Windows temp files
.DS_Store
Thumbs.db
*.apk
2 changes: 1 addition & 1 deletion Example.Shared.Application/Droid/MainActivity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected override void OnCreate (Bundle savedInstanceState)
};

// Initialize OneSignal
OneSignal.StartInit("4ba9ec31-b65a-4f5f-b210-a5077a245b3d", "703322744261")
OneSignal.StartInit("b2f7f966-d8cc-11e4-bed1-df8f05be55ba")
.HandleNotificationReceived(exampleNotificationReceivedDelegate)
.HandleNotificationOpened(exampleNotificationOpenedDelegate)
.InFocusDisplaying(OneSignal.OSInFocusDisplayOption.Notification)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.companyname.example_shared_application">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.onesignal.example">
<uses-sdk android:minSdkVersion="15" />
<permission android:name="com.companyname.example.shared.application.droid.permission.C2D_MESSAGE"
<permission android:name="com.onesignal.example.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.companyname.example.shared.application.droid.permission.C2D_MESSAGE" />
<uses-permission android:name="com.onesignal.example.permission.C2D_MESSAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
Expand All @@ -15,7 +15,7 @@
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.companyname.example.shared.application.droid" />
<category android:name="com.onesignal.example" />
</intent-filter>
</receiver>
<receiver android:name="com.onesignal.NotificationOpenedReceiver" />
Expand Down
2 changes: 1 addition & 1 deletion Example.Shared.Application/iOS/AppDelegate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public override bool FinishedLaunching (UIApplication application, NSDictionary
};

// Initialize OneSignal
OneSignal.StartInit("5eb5a37e-b458-11e3-ac11-000c2940e62c")
OneSignal.StartInit("b2f7f966-d8cc-11e4-bed1-df8f05be55ba")
.HandleNotificationReceived(exampleNotificationReceivedDelegate)
.HandleNotificationOpened(exampleNotificationOpenedDelegate)
.InFocusDisplaying(OneSignal.OSInFocusDisplayOption.Notification)
Expand Down
2 changes: 1 addition & 1 deletion Example.Shared.Application/iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>CFBundleName</key>
<string>Example.Shared.Application</string>
<key>CFBundleIdentifier</key>
<string>com.hiptic.ios10-test</string>
<string>com.onesignal.example</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
Expand Down
Binary file modified OneSignal.Android.Binding/OneSignal.Android.Binding/Jars/onesignal-main.aar
100644 → 100755
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
[assembly: AssemblyConfiguration ("")]
[assembly: AssemblyCompany ("")]
[assembly: AssemblyProduct ("")]
[assembly: AssemblyCopyright ("vivek")]
[assembly: AssemblyCopyright ("OneSignal")]
[assembly: AssemblyTrademark ("")]
[assembly: AssemblyCulture ("")]

// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.

[assembly: AssemblyVersion ("1.0.0")]
[assembly: AssemblyVersion ("2.1.0")]

// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.
Expand Down
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit b322f03

Please sign in to comment.