This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Linq; | |
using System.Text; | |
using System.IO; | |
using System.Net; | |
// TODO: Replace YOUR_ONESIGNAL_REST_API_KEY with your key. | |
// TODO: Replace YOUR_ONESIGNAL_APP_ID with your app id. | |
namespace ConsoleApplication3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Logcat from device of an app closing normally vs "Force Closed" and how it affects notifications. | |
// com.onesignal.example app running with the OneSignal 2.1.2 SDK on a Android 6.0.1 device | |
/** 1.1 Swiping away example app from the Recent Apps list **/ | |
02-27 13:39:29.854 15326-15326/com.onesignal.example D/OneSignal: onActivityDestroyed: com.onesignal.example.MainActivity | |
02-27 13:39:29.855 15326-15326/com.onesignal.example D/OneSignal: curActivity is NOW: null | |
02-27 13:39:29.863 15326-15326/com.onesignal.example I/OneSignal: GetUnsentActiveTime: 25 | |
02-27 13:39:29.863 15326-15326/com.onesignal.example I/OneSignal: SaveUnsentActiveTime: 27 | |
02-27 13:39:29.873 937-3666/? I/ActivityManager: Killing 15326:com.onesignal.example/u0a261 (adj 16): remove task | |
02-27 13:39:29.964 937-3673/? D/GraphicsStats: Buffer count: 13 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
id="onesignal-cordova-plugin-pgb-compat" | |
version="1.9.1"> | |
<name>OneSignal Push Notifications PGB Compat</name> | |
<author>Josh Kasten</author> | |
<description>OneSignal is a high volume Push Notification service for mobile apps. In addition to basic notification delivery, OneSignal also provides tools to localize, target, schedule, A/B test, and automate notifications that you send.</description> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.adquizition.adphenom" android:installLocation="preferExternal" android:versionCode="1" android:versionName="1.0"> | |
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" /> | |
<permission android:name="com.adquizition.adphenom.permission.C2D_MESSAGE" android:protectionLevel="signature" /> | |
<uses-permission android:name="com.adquizition.adphenom.permission.C2D_MESSAGE" /> | |
<application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="true"> | |
<activity android:name="com.onevcat.uniwebview.AndroidPlugin" android:label="@string/app_name" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreen |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script> | |
if (location.search.indexOf("?url=") == 0) | |
window.location.replace(location.search.substring(5)); | |
</script> | |
</head> | |
<body></body> | |
</html> |
NewerOlder