Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Crash Flurry on watchOs 10.x #262

Open
9 tasks
evgzor opened this issue Nov 5, 2023 · 5 comments
Open
9 tasks

Crash Flurry on watchOs 10.x #262

evgzor opened this issue Nov 5, 2023 · 5 comments
Assignees
Labels

Comments

@evgzor
Copy link

evgzor commented Nov 5, 2023

Describe the bug
FlurryWatch.logWatchEvent( crashing on apple watchOs 10.x

This Bug is About
Please choose the closest item by replacing [ ] with [x].

  • [ x] Integration
  • Analytics
  • Ads
  • Messaging/Push
  • IAP
  • Remote Configuration
  • Flurry Website/Dashboard
  • Other

Platform
Please choose the platform(s) that you are having the issue by replacing [ ] with [x].

  • iOS
  • tvOS
  • [ x] WatchOS

Environment
Please tell us the versions of Flurry SDK, XCode, and iOS you are using.

  • Flurry SDK: 12.4.0
  • XCode: 15.0.1
  • iOS: 17.1

To Reproduce
Steps to reproduce the behavior:

  1. Integrate Flurry on apple watch
  2. Run FlurryWatch.logWatchEvent(
  3. Observe crash

Screenshots
Снимок экрана 2023-11-05 в 19 48 16
Снимок экрана 2023-11-05 в 19 49 56

Additional context
Are you using Flurry Push/Messaging? No
(iOS) Are you using CocoaPods or manual binary integration? Yes / No

Add any other context about the problem here.

@KyleStation
Copy link

Getting the same issue.

@flurrydev
Copy link
Contributor

Thank you for reporting the issue. We're investigating to find a resolution. I have not yet reproduced the crash.

-Are you able to reproduce this on a simulator or only a physical device?

@evgzor
Copy link
Author

evgzor commented Nov 7, 2023

Only physical devices. Its not reproduced on simulators.

@KyleStation
Copy link

KyleStation commented Nov 20, 2023

@flurrydev Hello, here are some more findings for this crash. Hope it can helps your investigation.
If the watch app was created as WatchApp and WatchAppExtension separately (developed with Storyboard):

  • If calling the FlurryWatch.logWatchEvent on page load (awake(withContext context: Any?) or willActivate() method), the crash happens intermittently.
  • If calling the FlurryWatch.logWatchEvent on button click event, it works fine.

If the watch app was created as the combined WatchApp (developed with SwiftUI):

  • If calling the FlurryWatch.logWatchEvent on page load (onAppear method), it works fine.
  • If calling the FlurryWatch.logWatchEvent on button click event, it works fine.

Note: The one with WatchApp and WatchAppExtension separately was an old test project created in 2021. While the one with combined WatchApp was newly created with Xcode 15.

The Environments in my case:
Flurry SDK: 12.1.4
Xcode: 15.0
iOS: 17.0.2
WatchOS: 10.0.1

@KyleStation
Copy link

@flurrydev Hello, just to follow up on this issue. Any further updates?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants