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

update urlWithCorrelator to fix Simulator crash #35

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mcarriga
Copy link

Some URLs(Many Freewheel URLs for example) cause a crash on Simulators when trying to unwrap the optional URL- [Fatal error: Unexpectedly found nil while unwrapping an Optional value]. - Sample crashing URL -> "https://2517d.v.fwmrm.net/ad/g/1?nw=151933&prof=151933:crackle_ios_mobile_live&vcid=&caid=2520725&csid=crackle_iphone_us/&resp=vmap1&crtp=vast3ap&afid=37040698&pvrn=96042&vprn=96042&flag=+aeti+emcr+qtcb+slcb+sltp+exvt+fbad+ssus+dtrd&metr=7;comscore_platform=ios&comscore_device=64-bit Simulator&_fw_did=:&is_lat=&ifa_type=&_fw_vcid2=151933:&cav=6.5.0.7&_fw_coppa=&player_width=375.0&player_height=812.0&nielsen_app_id=PFDF102BF-8FB9-B8EF-E040-070AAD315556&nielsen_device_group=PHN&nielsen_platform=MB&_fw_fss=_fw_search"

Problem

Fix

Checklist (for PR submitters and reviewers)

  • Correct player version
  • No SwiftLint errors / warnings (or argue coherent why a warning is not adressed)
  • Please make sure that no player license key and development team is commited resp. copied to the public sample repo after merge

Some URLs(Many Freewheel URLs for example) cause a crash on Simulators when trying to unwrap the optional URL- [Fatal error: Unexpectedly found nil while unwrapping an Optional value]. - Sample crashing URL -> "https://2517d.v.fwmrm.net/ad/g/1?nw=151933&prof=151933:crackle_ios_mobile_live&vcid=&caid=2520725&csid=crackle_iphone_us/&resp=vmap1&crtp=vast3ap&afid=37040698&pvrn=96042&vprn=96042&flag=+aeti+emcr+qtcb+slcb+sltp+exvt+fbad+ssus+dtrd&metr=7;comscore_platform=ios&comscore_device=64-bit Simulator&_fw_did=:&is_lat=&ifa_type=&_fw_vcid2=151933:&cav=6.5.0.7&_fw_coppa=&player_width=375.0&player_height=812.0&nielsen_app_id=PFDF102BF-8FB9-B8EF-E040-070AAD315556&nielsen_device_group=PHN&nielsen_platform=MB&_fw_fss=_fw_search"
@CLAassistant
Copy link

CLAassistant commented Jun 14, 2022

CLA assistant check
All committers have signed the CLA.

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.

3 participants