-
Notifications
You must be signed in to change notification settings - Fork 198
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
Merge user_model/main into main #975
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Remove logging from OneSignalPlugin class, separate log and visual level into distinct methods, update iOS header and implementation files
Remove Outcomes methods and imports from OneSignalPlugin class, update method names, update iOS header and implementation files
Remove Location methods from OneSignalPlugin class, update method names, update iOS header and implementation files
Create Location namespace
Create Session namespace
Create Debug namespace
Remove In-App Messages methods from OneSignalPlugin class, update method names, update iOS header and implementation files
Create InAppMessages Namespace
Remove User methods from OneSignalPlugin class, create new methods for Alias, update method names, update iOS header and implementation files
Update imports and initialization code so that iOS 5.0.0-alpha-02 can be tested on branch
Remove Push Subscription methods from OneSignalPlugin class, create new methods for opt in & property getters, update method names, update iOS header and implementation files
Update imports and initialization code so that iOS 5.0.0-alpha1 can be tested on branch
Create Alias methods, update method names, remove deprecated methods
Add setAlertLevel and update method calls
Add Alias methods, rename existing methods, remove deprecated methods
Remove "Number" suffix of method name for conformity between SDKs.
Create User Namespace
New method names conform to v5.0.0-beta1 conventions
Update privacy methods and create login/logout methods
Update SDK to 5.0.0-beta1 and OneSignalWrapper import to allow setSdkType
Update method names for Session namespace
[User Model] Create pushSubscription Namespace
`addAlias` string method improvement & `removeAliases` updated to take in `Collection<String> labels`
This reverts commit 4eca9f7.
Update Migration Guide
* Extract functionality to translate `null` and empty string ("") into NULL objects, into helper methods as they are used in multiple places.
Instead of returning an object with a boolean value
- Create new async methods - Mark old getters as deprecated
- Ensure ids are nullable and remove undefined - Update push optedIn getter to return boolean in callback
…er logging - Will log null instead of 'nil'
* Instead of making dictionaries just to pass strings over the bridge, pass the strings directly, when appropriate. * Do this by creating helper methods in iOS and Android called `callbackSuccessString` and `successCallbackString`.
* To explain why they are still there
* Move Android requestPermission resolving into the bridge to improve readability of the method.
Add getters and observer for onesignal ID and external ID
Update Push Subscription/Permission Getters to Async
[README] Removed some 404 links
Update Zapier.yml
Adding a new github action that allows us to measure issue response time
Update set_response_time.yml
jennantilla
force-pushed
the
user_model_rebase
branch
from
March 4, 2024 22:38
3f77c0b
to
6e35c4d
Compare
nan-li
approved these changes
Mar 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
One Line Summary
This PR will merge
user_model/main
changes intomain
.Details
See here for a comparison of this branch vs. user_model/main. After this PR, main and user_model/main should be equivalent.
Note: main and user model diverged on January 4, 2023.
I have compared all changes on main and cherry-picked the merge commits.
To make the main branch reflect v5.x.x., the "old" main branch is maintained in branch
3.x.x_patch_branch
.Testing
Manual testing
Built and ran new branch on Android 13 emulator and iOS 17.2 emulator. Tested various methods to ensure everything is working.
Checklist
Overview
Testing
Final pass
This change is