Closed devinsmythe closed 3 years ago
Ill look into the failing CI.
The suggestions above will make it easier to implement a refresh loading indicator in the app since they will be notified with the refresh is finished using the future.
@rlepinski having issues with the swift implementation. Can you take a look at what I'm doing wrong?
Hopefully I got the future stuff working correctly. I tested it on android with the sample and I was able to retrieve the future value doing this so seems like it's working:
Airship.refreshInbox().then((value) => print("Future value: " + value.toString()));
What do these changes do?
These changes should allow customers using the flutter SDK to manually refresh the inbox. Currently refreshes only happen when opening the app or when a push is received with a message center message.
Why are these changes necessary?
A customer wants to be able to refresh the inbox inside the app. https://urbanairship.atlassian.net/browse/CUSTENG-3584
How did you verify these changes?
I tested the changes on an android device. I have not tested the changes on iOS, I could use some help testing my iOS changes out!
Verification Screenshots:
Anything else a reviewer should know?
iOS still needs to be tested. I'm not 100% sure I called the correct iOS method.