Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

242195 Fix app state reset on opening push notification #58

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dsellick-opti
Copy link
Contributor

@dsellick-opti dsellick-opti commented Mar 7, 2025

242195

Description of Changes

have added override to Android Push Receiver getPushOpenActivityIntent method. opverride does not set Activity clear task flag which was impacting cordova and capcitor apps causing an app restart.

Removed redundant code that breaches trampoline restrictions

Breaking Changes

  • None

Release Checklist

Prepare:

  • cd cordova-sdk and npm run build to produce minified artifacts
  • cd ExampleApp and npm run build to update index.js
  • Detail any breaking changes. Breaking changes require a new major version number
  • Update type declarations in cordova-sdk/index.d.ts

Bump versions in:

  • package.json
  • plugin.xml
  • src/ios/OptimoveSDKPlugin.swift
  • src/android/OptimoveInitProvider.java

Release:

  • Squash and merge to main
  • Delete branch once merged
  • Create tag from main matching chosen version
  • Fill out release notes
  • Run npm publish --access public

Update wiki:

… that was causing cordova and capcitor apps to reset state. removed redundant if statement that trampoline restrictions are blocking
@dsellick-opti dsellick-opti changed the title added overtride to getPushOpenActivityIntent. that removes clear flag… 242195 Fix app state reset on opening push notification Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants