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

Runtime issue after Leanplum.start() #573

Closed
AntonRomanchuk opened this issue Nov 13, 2023 · 3 comments
Closed

Runtime issue after Leanplum.start() #573

AntonRomanchuk opened this issue Nov 13, 2023 · 3 comments

Comments

@AntonRomanchuk
Copy link

Problem

It is taking our app ~ 1 minute every time before start. From our findings we start the app and then nothing happens until a purple warning appears saying:
The request of a upload task should not contain a body or a body stream, use `upload(for:fromFile`, `upload(for:from`, or supply the body stream through the `urlSession(_:needNewBodyStreamForTask` delegate method.

After the purple warning appears, our app continues its processes

Expected Behavior

No purple warnings in a project from leanplum sdk

Actual Behavior

When app is calling Leanplum.start() we got next runtime issue:
The request of a upload task should not contain a body or a body stream, use `upload(for:fromFile`, `upload(for:from`, or supply the body stream through the `urlSession(_:needNewBodyStreamForTask` delegate method.

Steps to Reproduce the Problem

  1. Call Leanplum.start() at first screen of the app

Specifications

  • Version: 6.1.1
  • Platform: iOS
  • Subsystem: iOS 16-17
@AntonRomanchuk
Copy link
Author

Still reproducible on 6.2.0-beta2

@nzagorchev
Copy link
Contributor

Can you check if it is fixed with 6.2.0? I am no longer able to reproduce this.

@AntonRomanchuk
Copy link
Author

No longer reproducible, thanks!

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

No branches or pull requests

2 participants