Comments (6)
Do you call Pushwoosh SDK methods in a separate process? Can you please share your AndroidManifest.xml or apk build?
from pushwoosh-android-sdk.
`
<!-- USER FEATURE -->
<uses-feature
android:name="android.hardware.camera"
android:required="true" />
<uses-feature
android:name="android.hardware.camera.autofocus"
android:required="false" />
<uses-feature
android:name="android.hardware.camera.flash"
android:required="false" />
<uses-feature
android:name="android.hardware.telephony"
android:required="false" />
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
<!-- GENERAL USER PERMISSION -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<!-- used for restoting geofences when re-boot -->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<!-- Permissions for Card.io -->
<uses-permission android:name="android.permission.CAMERA" />
<!-- Needed for GCM: -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="${applicationId}.permission.MAPS_RECEIVE" />
<!--Removing unneeded permissions that are requested by references-->
<uses-permission
android:name="android.permission.VIBRATE"
tools:node="remove" />
<uses-permission
android:name="android.permission.READ_PHONE_STATE"
tools:node="remove" />
<permission
android:name="${applicationId}.permission.MAPS_RECEIVE"
android:protectionLevel="signature" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="${applicationId}.permission.C2D_MESSAGE" />
<permission
android:name="${applicationId}.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<application
android:name=".GYGApplication"
android:allowBackup="true"
android:backupAgent=".backup.GYGBackup"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:logo="@drawable/ic_actionbar_icon"
android:theme="@style/ThemeNoActionBar.GYG">
<!-- RECEIVERS -->
<!-- BOOT COMPLETE -->
<receiver android:name=".receivers.BootCompletedReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<!-- PushWoosh -->
<receiver
android:name="com.google.android.gms.gcm.GcmReceiver"
android:exported="true"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="${applicationId}" />
</intent-filter>
</receiver>
<service
android:name="com.pushwoosh.GCMListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE"/>
</intent-filter>
</service>
<service
android:name="com.pushwoosh.GCMInstanceIDListenerService"
android:exported="false">
<intent-filter>
<action android:name="com.google.android.gms.iid.InstanceID"/>
</intent-filter>
</service>
<service
android:name="com.pushwoosh.GCMRegistrationService"
android:exported="false">
</service>
<receiver android:name=".receivers.PushWooshReceiver" />
<meta-data android:name="PW_NOTIFICATION_RECEIVER" android:value=".receivers.PushWooshReceiver"/>
<!-- Service for sending location updates -->
<service android:name="com.pushwoosh.location.GeoLocationService" />
<!-- ADJUST -->
<receiver
android:name="com.adjust.sdk.AdjustReferrerReceiver"
android:exported="true">
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
<!-- MIXPANEL -->
<receiver
android:name="com.mixpanel.android.mpmetrics.GCMReceiver"
android:permission="com.google.android.c2dm.permission.SEND">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
<category android:name="${applicationId}" />
</intent-filter>
</receiver>
<!-- ACTIVITIES -->
<activity
android:name=".activities.AppIntroActivity"
android:screenOrientation="portrait"
android:theme="@style/ThemeNoActionBar.GYG.Fullscreen.Black">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".activities.DeepLinkDispatcherActivity"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="home"
android:scheme="gyg" />
<data
android:host=""
android:scheme="gyg" />
<data
android:host="tickets"
android:scheme="gyg" />
<data
android:host="tours"
android:scheme="gyg" />
<data
android:host="search"
android:scheme="gyg" />
<data
android:host="login"
android:scheme="gyg" />
<data
android:host="review"
android:scheme="gyg" />
<data
android:host="discovery"
android:scheme="gyg" />
</intent-filter>
<intent-filter
android:autoVerify="true"
tools:ignore="UnusedAttribute">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data
android:host="www.getyourguide.com"
android:scheme="https" />
<data
android:host="www.getyourguide.dk"
android:scheme="https" />
<data
android:host="www.getyourguide.de"
android:scheme="https" />
<data
android:host="www.getyourguide.at"
android:scheme="https" />
<data
android:host="www.getyourguide.ch"
android:scheme="https" />
<data
android:host="www.getyourguide.co.uk"
android:scheme="https" />
<data
android:host="www.getyourguide.es"
android:scheme="https" />
<data
android:host="www.getyourguide.fr"
android:scheme="https" />
<data
android:host="www.getyourguide.it"
android:scheme="https" />
<data
android:host="www.getyourguide.nl"
android:scheme="https" />
<data
android:host="www.getyourguide.no"
android:scheme="https" />
<data
android:host="www.getyourguide.pt"
android:scheme="https" />
<data
android:host="www.getyourguide.com.br"
android:scheme="https" />
<data
android:host="www.getyourguide.fi"
android:scheme="https" />
<data
android:host="www.getyourguide.se"
android:scheme="https" />
<data
android:host="www.getyourguide.com.tr"
android:scheme="https" />
</intent-filter>
</activity>
<activity android:name=".activities.HomeActivity" />
<activity android:name=".activities.SearchResultActivity">
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
</activity>
<activity android:name=".activities.FilterActivity" />
<activity android:name=".activities.Web2AppLandingActivity" />
<activity android:name=".activities.TourDetailActivity" />
<activity android:name=".activities.TourDetailTabActivity" />
<activity
android:name=".activities.WebviewActivity"
android:configChanges="orientation|keyboardHidden" />
<activity android:name=".activities.BookTourActivity" />
<activity android:name=".activities.MeetingPointActivity" />
<activity
android:name=".activities.TicketDetailActivity"
android:screenOrientation="sensorPortrait" />
<activity android:name=".activities.AdditionalBookingInfoActivity" />
<activity android:name=".activities.AboutActivity" />
<activity android:name=".activities.HelpActivity" />
<activity android:name=".activities.RedeemCouponActivity" />
<activity android:name=".activities.SearchActivity" />
<activity
android:name=".activities.POIDetailActivity"
android:theme="@style/ThemeNoActionBar.GYG.Light" />
<activity android:name=".activities.SignInSignUpActivity" />
<activity android:name=".activities.UpdateAppActivity" />
<activity
android:name=".activities.WebPaymentDetailActivity"
android:configChanges="orientation|keyboardHidden|screenSize" />
<activity android:name="com.mixpanel.android.surveys.SurveyActivity" />
<activity
android:name="io.card.payment.CardIOActivity"
android:configChanges="keyboardHidden|orientation"
android:hardwareAccelerated="true" />
<activity
android:name="io.card.payment.DataEntryActivity"
android:screenOrientation="portrait" />
<!-- PushWoosh -->
<activity android:name="com.pushwoosh.richpages.RichPageActivity" />
<activity android:name="com.pushwoosh.MessageActivity" />
<activity android:name="com.pushwoosh.PushHandlerActivity" />
<!-- SERVICES -->
<service android:name=".real_services.LoadTourService" />
<service android:name=".real_services.LoadTourOptionsService" />
<service android:name=".real_services.GeofenceTransitionsIntentService" />
<!-- OTHER -->
<!-- FACEBOOK SDK -->
<activity
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:label="@string/app_name"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="@string/facebook_app_id_default" />
<!-- GOOGLE PLAY SERVICES -->
<meta-data
android:name="com.google.android.maps.v2.API_KEY"
android:value="@string/google_map_key" />
<meta-data
android:name="APP_NAME"
android:value="${applicationId}" />
<meta-data
android:name="com.google.android.backup.api_key"
android:value="@string/backup_api_key" />
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
</application>
Here's my manifest. What do you mean by a separate process? A Service or another app? No. Different threads? Maybe.
from pushwoosh-android-sdk.
@DimanAM for an APK you can just download GetYourGuide app from the PlayStore.
from pushwoosh-android-sdk.
This is very strange DeadObjectException usually occurs when one process tries to access an object managed by another process that has been terminated. However it seems your application indeed uses only one process.
I have made a workaround for this in 4.3.3 release.
BTW how often does this issue occur?
from pushwoosh-android-sdk.
@DimanAM yeah, that's what I thought as well. This issue occurs only on 4.3 platform on Galaxy S3s, we get it 5-6 times a day out of 20 daily installs for these devices. It has started to occur approximately since Monday, the 27th of June
from pushwoosh-android-sdk.
@DimanAM the new version 4.3.3 is much more stable, thank you, however there are still 3 crashes in 3 days with that stacktrace. Same as before - it's only on Samsung 9300 and 4.3 system.
Exception Backtrace:
1 android.app.ApplicationPackageManager.getApplicationInfo ApplicationPackageManager.java, line 245
2 com.pushwoosh.internal.utils.a. Unknown Source
3 com.pushwoosh.internal.utils.a.a Unknown Source
4 com.pushwoosh.internal.a.a Unknown Source
5 com.pushwoosh.internal.a.a Unknown Source
6 com.pushwoosh.internal.a.a$a.a Unknown Source
7 com.pushwoosh.internal.b.g.setProcessed Unknown Source
8 com.pushwoosh.internal.b.k$1$1.run Unknown Source
9 android.os.Handler.handleCallback Handler.java, line 730
10 android.os.Handler.dispatchMessage Handler.java, line 92
11 android.os.Looper.loop Looper.java, line 176
12 android.app.ActivityThread.main ActivityThread.java, line 5419
13 java.lang.reflect.Method.invokeNative Native Method
14 java.lang.reflect.Method.invoke Method.java, line 525
15 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run ZygoteInit.java, line 1046
16 com.android.internal.os.ZygoteInit.main ZygoteInit.java, line 862
17 dalvik.system.NativeStart.main Native Method
Caused by: android.os.DeadObjectException
1 android.os.BinderProxy.transact Native Method
2 android.content.pm.IPackageManager$Stub$Proxy.getApplicationInfo IPackageManager.java, line 1816
3 android.app.ApplicationPackageManager.getApplicationInfo ApplicationPackageManager.java, line 240
... 16 more
from pushwoosh-android-sdk.
Related Issues (20)
- In Latest version 6.2.7, after receiving notification , when building notification, some file not found exception occuring HOT 1
- after updating firebase-messaging to 22.0.0, new installs crash during first boot (only on first boot) HOT 6
- test issue
- Show multiple notifications instead of a single one HOT 2
- Question: is PushWoosh allowed in the Family Program of Google? HOT 8
- Pushwoosh Android isn't receiving notifications very first time. HOT 1
- Android 11 notification sounds aren't working HOT 1
- Android 12 support HOT 5
- App rejection HOT 2
- NullPointerException when launching app on Android 12 HOT 2
- Feedback questionnaire
- Prevent sdk from calling home(/registerUser) before user has opted in to the privacy policy HOT 1
- Android 13 notification permission HOT 3
- App Removal due to SDK HOT 6
- Android 6.0 crash HOT 7
- Android 14 support HOT 2
- StatusBar notifications bug HOT 7
- [Question]: Could not HEAD Received status code 502 from server: Bad Gateway HOT 3
- [Question]: How to fix release crash HOT 4
- [Question]: Build sample projects failed in master branch (Android Studio) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pushwoosh-android-sdk.