Skip to content

Conversation

@mikechoch
Copy link
Contributor

@mikechoch mikechoch commented Jan 11, 2020

  • On first init call the app id is null form some wrappers
  • Now every time init is called we try to download the params if the didCallDownloadParams false

Current status is waiting on a customer to see if this fix resolves their issues regarding Confirmed Deliveries


This change is Reviewable

* On first init call the app id is null form some wrappers
* Now every time init is called we try to download the params if the `didCallDownloadParams` false
@mikechoch mikechoch requested review from Jeasmine and jkasten2 and removed request for jkasten2 January 11, 2020 01:26
* Wrapper SDKs call init twice, once with a null app id and once with a valid app id
  - On first init: null app id prevents iOS params and initDone will be set true
  - On second init: valid app id will allow iOS params to be pulled down and init is done already
* Log level is now being set to default VERBOSE in NSE
  - This is so any logs get recorded for the device even when coming from the NSE
  - The customer will have control app level for showing OneSignal logs, but NSE will always log out logs
* Unit test written for checking that init called twice (once with null app id and once with valid app id) does not effect iOS params request
@mikechoch mikechoch changed the title WIP - Fixed params issue related to the second init Fixed iOS params issue related to the second init for wrappers Jan 13, 2020
@mikechoch mikechoch merged commit ac76834 into master Jan 14, 2020
@mikechoch mikechoch deleted the fix/init_returns_early_on_params_call branch May 14, 2020 14:51
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