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

Add CodeQL #1885

Open
wants to merge 248 commits into
base: main
Choose a base branch
from
Open

Add CodeQL #1885

wants to merge 248 commits into from

Commits on Oct 17, 2022

  1. Merge from main

    brismithers committed Oct 17, 2022
    Configuration menu
    Copy the full SHA
    9ae7158 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1670 from OneSignal/user-model/merge-from-main

    [User Model] merge from main
    brismithers authored Oct 17, 2022
    Configuration menu
    Copy the full SHA
    1266cbd View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2022

  1. [User Model] notification_types and model event rework

    * Update `ISingletonModelStore.get()` function to be `ISingletonModelStore.model` property
    * Rework the model store change event system to always fire, using tags to differentiate why changes occurred.
    * Add `SubscriptionModel.status` to capture the subscription status, for when retrieving push token fails for some reason.
    * Drive event callback when app killed during request notification permission activity.
    brismithers committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    66d0311 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2022

  1. Merge pull request #1673 from OneSignal/user-model/notification-types…

    …-model-event-rework
    
    [User Model] notification_types and model event rework
    brismithers authored Oct 20, 2022
    Configuration menu
    Copy the full SHA
    86af18f View commit details
    Browse the repository at this point in the history
  2. [User Model] Visual logging and other TODOs

    * Implement visual logging
    * Remove IInfluenceManager.addSessionData which is no longer required, as session influence is captured via outcome.
    * Ensure IAM repository is cleaned on startup.
    * Create dummy IAMManager when <4.4
    brismithers committed Oct 20, 2022
    Configuration menu
    Copy the full SHA
    4bdaa8b View commit details
    Browse the repository at this point in the history
  3. [User Model] Session Manager

    * Move outcome calls over to new ISessionManager (OneSignal.session)
    * Add OneSignal.disableGMSMissingPrompt
    brismithers committed Oct 20, 2022
    Configuration menu
    Copy the full SHA
    96fb6c4 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2022

  1. * Align preferences with config model store, removing preferences now…

    … moved to config model.
    
    * Document IPreferencesService
    * Document ITime
    brismithers committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    60dbb5a View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2022

  1. Merge pull request #1674 from OneSignal/user-model/visual-logging-and…

    …-todos
    
    [User Model] Visual logging and other TODOs
    brismithers authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    a12b55c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1675 from OneSignal/user-model/session-manager

    [User Model] Session Manager
    brismithers authored Oct 24, 2022
    Configuration menu
    Copy the full SHA
    a0b4a74 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2022

  1. [User Model] Modularize IAM/Notification/Location

    * Move IAM/Notification/Location to their own gradle modules. AndroidManifest/proguard has now been split across the 4 modules.
    * Load modules dynamically using reflection within OneSignalImpl, falling back to "Misconfigured" versions if the modules weren't specified in the application.
    * Make internal classes required by a OS module no longer defined as `internal` (but keep in internal namespace).
    brismithers committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    5e9019e View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2022

  1. Merge pull request #1678 from OneSignal/user-model/gradle-modularization

    [User Model] Modularize IAM/Notification/Location
    brismithers authored Oct 31, 2022
    Configuration menu
    Copy the full SHA
    698b14f View commit details
    Browse the repository at this point in the history
  2. [User Model] New login process and operation repo updates

    * local ID -> remote ID now get changed directly against the model. There is no longer an in-memory translation, which did not work in the event of an app restart.  Each operation now has a `translateId` method to drive updating their IDs.
    * Rename `CreateUserOperation` to be `LoginUserOperation` and now has the ability to "identity" an existing user as the user being logged in, rather than always upserting a new user.
    * Update `OperationRepo` and supporting executors to properly handle error conditions.
    * Update `IOperationRepo.execute` to be `enqueueAndWait` which supports the change in behavior,,execution of an operation always happens on the background thread and does *not* jump the queue.
    * Update operation executors to now ensure the model is in a correct state post-backend execution.
    brismithers committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    77793e8 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2022

  1. Merge pull request #1681 from OneSignal/user-model/login-identity

    [User Model] New login process and operation repo updates
    brismithers authored Nov 7, 2022
    Configuration menu
    Copy the full SHA
    f2ec786 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9fd560e View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

  1. Merge pull request #1684 from OneSignal/user-model/core-unit-tests

    [User Model] Core Unit Tests
    brismithers authored Nov 8, 2022
    Configuration menu
    Copy the full SHA
    460a7d6 View commit details
    Browse the repository at this point in the history
  2. [User Model] Move and rename

    * Renamed/moved `iam` module to be `inAppMessages` module
    * Renamed/moved `notification` module to be `notifications` module
    * Renamed `sendOutcomes` to be `addOutcomes`
    * Renamed `setTags` to be `addTags`
    * Moved triggers to be within `inAppMessages` module
    brismithers committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    edb2c18 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. Merge pull request #1685 from OneSignal/user-model/renames-and-moves

    [User Model] Move and rename
    brismithers authored Nov 9, 2022
    Configuration menu
    Copy the full SHA
    95fd7c1 View commit details
    Browse the repository at this point in the history
  2. [User Model] Track Session Start

    * Add `TrackSessionStartOperation`
    * Update executor to count sessions refresh device metadata on `TrackSessionStartOperation`
    brismithers committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    86b872e View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2022

  1. Merge pull request #1687 from OneSignal/user-model/track-session-start

    [User Model] Track Session Start
    brismithers authored Nov 14, 2022
    Configuration menu
    Copy the full SHA
    6816df4 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2022

  1. [User Model] Push notification/subscription alignment

    * Use SubscriptionStatus enum for subscription status across the codebase.
    * IUserManager.subscriptions.push can no longer be null. If there isn't a push subscription a "dummy" one is now returned.
    * Add `fallbackToSettings` parameter for `ILocationManager.requestPermission` and `INotificationsManager.requestPermission`
    * Renamed `INotificationsManager.permissionsStatus` to `permission` and made it a simple Boolean.
    * Added `INotificationsManager.canRequestPermission` as a flag to indicate when permissions can be requested.
    * Added `ISubscription.addChangeHandler` to allow user to listen for changes to the subscription.
    brismithers committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    6ded6a2 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2022

  1. Merge pull request #1688 from OneSignal/user-model/notification-subsc…

    …ription-alignment
    
    [User model] notification/subscription alignment
    brismithers authored Nov 17, 2022
    Configuration menu
    Copy the full SHA
    4fa327f View commit details
    Browse the repository at this point in the history
  2. [User Model] Minor cleanup

    * Changed `IDeviceService.deviceType` to return an enum rather than int
    * Added `EventProducer.fireOnMain` and `CallbackProducer.fireOnMain` for easy firing of callbacks on main thread.
    brismithers committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    7fe6aca View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2022

  1. Merge pull request #1689 from OneSignal/user-model/minor-cleanup

    [User Model] Minor cleanup
    brismithers authored Nov 21, 2022
    Configuration menu
    Copy the full SHA
    78383da View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2022

  1. [User Model] Notifications Unit Tests

    * Added various unit tests for notifications module
    * removed high level unittest module from solution
    brismithers committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    8bf8651 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2022

  1. Merge pull request #1692 from OneSignal/user-model/notification-unit-…

    …tests
    
    [User Model] Notifications Unit Tests
    brismithers authored Nov 28, 2022
    Configuration menu
    Copy the full SHA
    67f40a9 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2022

  1. [User Model] Notification Clicked Handler

    * Rename from notification opened to notification clicked
    * Remove INotificationsManager.postNotification
    * Small notification bug fixes
    brismithers committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    7c6d8be View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2022

  1. Merge pull request #1695 from OneSignal/user-model/notification-clicked

    [User Model] Notification Clicked Handler
    brismithers authored Dec 5, 2022
    Configuration menu
    Copy the full SHA
    3d2b5b0 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2022

  1. [User Model] Backend Integration

    * Implement `UserBackendService`, `IdentityBackendService`, and `SubscriptionBackendService`
    * Tweak `OutcomeEventsBackendService` to provide `subscriptionId`
    brismithers committed Dec 7, 2022
    Configuration menu
    Copy the full SHA
    7fa1ff4 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2022

  1. Configuration menu
    Copy the full SHA
    2f5926a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    222cb85 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2022

  1. Merge pull request #1700 from OneSignal/user-model/location-unit-tests

    [User Model] Location Unit Tests
    brismithers authored Dec 12, 2022
    Configuration menu
    Copy the full SHA
    576cceb View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2022

  1. Configuration menu
    Copy the full SHA
    e588c4a View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2022

  1. Configuration menu
    Copy the full SHA
    da60c85 View commit details
    Browse the repository at this point in the history
  2. revert tempory test code

    brismithers committed Dec 15, 2022
    Configuration menu
    Copy the full SHA
    a32b98c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1701 from OneSignal/user-model/iam-unit-tests

    [User Model] IAM Unit Tests (partial)
    brismithers authored Dec 15, 2022
    Configuration menu
    Copy the full SHA
    fb8cac9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c67b8e1 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2022

  1. Configuration menu
    Copy the full SHA
    9911f8e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1705 from OneSignal/user-model/backend-integration

    [User model] backend integration
    brismithers authored Dec 19, 2022
    Configuration menu
    Copy the full SHA
    45516c6 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2022

  1. Configuration menu
    Copy the full SHA
    6cde347 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1707 from OneSignal/user-model/prealpha-fixes

    Pre-alpha polish and fixes
    brismithers authored Dec 20, 2022
    Configuration menu
    Copy the full SHA
    d32966b View commit details
    Browse the repository at this point in the history
  3. [User Model] Core Module

    * Make `OneSignal` module a psuedo project which brings in all subprojects.
    * Move `OneSignal` functionality down to new `core` subproject.
    * All other subprojects now depend on `OneSignal:core` instead of `OneSignal`.
    * Finalize new build/publishing scheme.
    brismithers committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    bf29f7e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    06683dc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    01b3cdc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ccd8c46 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #1708 from OneSignal/user-model/core-module

    [User Model] Core Module
    brismithers authored Dec 20, 2022
    Configuration menu
    Copy the full SHA
    69f43ca View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2022

  1. Configuration menu
    Copy the full SHA
    e5e8196 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1709 from OneSignal/user-model/module-name

    [User Model] Add name to each module for maven publish pom
    brismithers authored Dec 21, 2022
    Configuration menu
    Copy the full SHA
    b7d2022 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2023

  1. [User Model] alpha bug fixes

    * Remember device's push subscription ID in config and ensure that push subscription is returned in IUserManager.pushSubscription.
    * Add TransferSubscriptionOperation
    brismithers committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    64cdfad View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1712 from OneSignal/user-model/alpha-bug-fixes

    [User Model] alpha bug fixes
    brismithers authored Jan 4, 2023
    Configuration menu
    Copy the full SHA
    16ac66b View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

  1. [User Model] Subscription Already Exists

    * Updates to support creating a subscription when the subscription already exists for the owner.
    brismithers committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    cbd9fd9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1714 from OneSignal/user-model/subscription-alrea…

    …dy-exists
    
    [User Model] Subscription Already Exists
    brismithers authored Jan 5, 2023
    Configuration menu
    Copy the full SHA
    2038f7a View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2023

  1. [User Model] Final touches

    * Add app_version to SubscriptionObject
    * Add migration guide
    * Make OneSignal.User pascal-case
    brismithers committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    a3d839f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1716 from OneSignal/user-model/alpha-final-touches

    [User Model] Final touches
    brismithers authored Jan 6, 2023
    Configuration menu
    Copy the full SHA
    026f748 View commit details
    Browse the repository at this point in the history
  3. Release 5.0.0-alpha1

    brismithers committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    dac3e47 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1717 from OneSignal/rel/5.0.0-alpha1

    Release 5.0.0-alpha1
    brismithers authored Jan 6, 2023
    Configuration menu
    Copy the full SHA
    b2b95ad View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2023

  1. [User Model] Application Focus and Threading

    * Update ApplicationService to more accurately detect when the app goes in/out of focus
    * Always switch to main thread for RequestPermission calls, to ensure that (1) a suspend occurs and (2) any UI operations happen on the main thread.
    brismithers committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    74e0d86 View commit details
    Browse the repository at this point in the history
  2. [User Model] Provide serialization mechanism for external classes

    * Add ToJsonObject to NotificationClickResult, NotificationAction, and InAppMessageClickResult.
    * Expose groupedNotifications in INotification
    brismithers committed Jan 18, 2023
    Configuration menu
    Copy the full SHA
    46bee80 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. Merge pull request #1722 from OneSignal/user-model/focus-and-threading

    [User Model] Application Focus and Threading
    brismithers authored Jan 19, 2023
    Configuration menu
    Copy the full SHA
    5b434fd View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1723 from OneSignal/user-model/tojsonobject

    [User Model] Provide serialization mechanism for external classes
    brismithers authored Jan 19, 2023
    Configuration menu
    Copy the full SHA
    3453d43 View commit details
    Browse the repository at this point in the history
  3. [User Model] Successfully recover from failing operations

    * Rebuild new user when an operation indicates the current user is no longer found.
    * Properly handle all response status codes.
    brismithers committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    24201b4 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2023

  1. Configuration menu
    Copy the full SHA
    8c56a63 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1724 from OneSignal/user-model/operation-recover

    [User Model] Successfully recover from failing operations
    brismithers authored Jan 20, 2023
    Configuration menu
    Copy the full SHA
    7996fe3 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1725 from OneSignal/user-model/subscription-id-he…

    …ader
    
    [User Model] Add "OneSignal-Subscription-Id" header to requests
    brismithers authored Jan 20, 2023
    Configuration menu
    Copy the full SHA
    7f06356 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2023

  1. [User Model] Transfer Subscription on user create

    * Support transfer of subscription on user create which allows proper transfer even if there is no token.
    * Allow optIn to drive permission even if already opted in
    * Align API to native iOS
    brismithers committed Jan 24, 2023
    Configuration menu
    Copy the full SHA
    2412676 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2023

  1. [User Model] Support migrating user from SDK 4.x to SDK 5.x

    * On initialization, check for old player_id and build local user as required
    * New LoginUserFromSubscriptionOperation and execution to support converting a local user to the user that owns a subscription.
    brismithers committed Jan 25, 2023
    Configuration menu
    Copy the full SHA
    7a31edd View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1726 from OneSignal/user-model/xfer-subscription-…

    …api-align
    
    [User Model] Transfer Subscription on user create
    brismithers authored Jan 25, 2023
    Configuration menu
    Copy the full SHA
    674fd4a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0478d56 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2023

  1. Merge pull request #1727 from OneSignal/user-model/sdk-migration

    [User Model] Support migrating user from SDK 4.x to SDK 5.x
    brismithers authored Jan 27, 2023
    Configuration menu
    Copy the full SHA
    2e841d7 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. Configuration menu
    Copy the full SHA
    117b682 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1728 from OneSignal/user-model/unit-test-fixup

    [User Model] Fix broken unit test compilation
    brismithers authored Jan 30, 2023
    Configuration menu
    Copy the full SHA
    3e3011c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    454bf34 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1729 from OneSignal/user-model/email-sms-validation

    [User Model] Add validation logic to add/remove email & sms subscriptions
    brismithers authored Jan 30, 2023
    Configuration menu
    Copy the full SHA
    db5c56a View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2023

  1. [User Model] Pre-Beta Fixes

    * Add new logo to example app
    * Set `SDK-Wrapper` header based on new OneSignalWrapper interface, to be set by wrapper SDKs.
    * Remove `clickId` and `pageId` from IInAppMessageAction, these should not be public.
    * Rework IAM dismiss flow so close button will drive click handler.
    * Drive re-evaluation of IAMs when IInAppMessageManager.paused is set to true.
    * Change INotificationsManager removeNotification functions to no longer be suspending functions.
    * Fix issue where notification received callbacks taking longer than 30 seconds would still be waited for.
    brismithers committed Feb 2, 2023
    Configuration menu
    Copy the full SHA
    8e4337f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1730 from OneSignal/user-model/pre-beta-fixes

    [User Model] Pre-Beta Fixes
    brismithers authored Feb 2, 2023
    Configuration menu
    Copy the full SHA
    952de92 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8e64caa View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1731 from OneSignal/user-model/enable-unattribute…

    …d-influences
    
    [User Model] Properly set `isUnattributedEnabled` to config when specified in the params
    brismithers authored Feb 2, 2023
    Configuration menu
    Copy the full SHA
    f97cfdd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6b5b1fe View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2023

  1. Merge pull request #1732 from OneSignal/user-model/beta-prep

    [User Model] Beta Release Prep
    brismithers authored Feb 3, 2023
    Configuration menu
    Copy the full SHA
    9fc1c61 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e346164 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2023

  1. Merge pull request #1733 from OneSignal/user-model/wrapper-sdkversion…

    …-settable
    
    [User Model] Make `sdkVersion` in OneSignalWrapper settable.
    brismithers authored Feb 16, 2023
    Configuration menu
    Copy the full SHA
    8499e90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3f2060f View commit details
    Browse the repository at this point in the history
  3. Release 5.0.0-beta2

    brismithers committed Feb 16, 2023
    Configuration menu
    Copy the full SHA
    937ac66 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1736 from OneSignal/user-model/raw-payload

    [User Model] Expose `INotification.rawPayload`
    brismithers authored Feb 16, 2023
    Configuration menu
    Copy the full SHA
    964ab9f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fde36dc View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Update logic for detecting when to show fallback settings for request…

    …ing permissions. Detection requires persistence to preferences, which allows the addition of INotificationsManager.canRequestPermission.
    brismithers committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    018a330 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2023

  1. Remove retain_previous_owner parameter from "Create User" and "Crea…

    …te Subscription" REST calls. This parameter is no longer used.
    brismithers committed Mar 1, 2023
    Configuration menu
    Copy the full SHA
    72d663d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f8c0d29 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. * Update example app to use com.onesignal.sdk.test application id a…

    …nd signing config for Huawei.
    
    * Remove coroutine launch when registering for HMS push token.
    brismithers committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    d4f42e4 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Merge pull request #1740 from OneSignal/user-model/remove-retain-prev…

    …ious-owner
    
    [User Model] Remove `retain_previous_owner` attribute from "Create User" and "Create Subscription"
    brismithers authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    9f7171e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1739 from OneSignal/user-model/permission-fallbac…

    …k-detection
    
    [User Model] Update logic for detecting when to show fallback settings
    brismithers authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    3ad1b97 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. [User Model] ADM Fixes

    * Update example app `AndroidManifest.xml` to point to new ADM bridges.
    * Update PushRegistratorADM to not launch a new task and run in calling thread.
    brismithers committed Mar 8, 2023
    Configuration menu
    Copy the full SHA
    0e1ca74 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2023

  1. [User Model] Safeguard against activities/services/receivers being ca…

    …lled before initialization.
    
    * Update `IOneSignal.initWithContext` interface to return whether initialization was successful or not.
    * Implementation fails initialization if no app ID is provided and no app ID has been saved.
    * Update all activities/services/receivers to check and not proceed when initialization unsuccessful.
    brismithers committed Mar 9, 2023
    Configuration menu
    Copy the full SHA
    d9f4023 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2023

  1. Merge pull request #1742 from OneSignal/user-model/huawei-fixes

    [User Model] Huawei Fixes
    brismithers authored Mar 14, 2023
    Configuration menu
    Copy the full SHA
    ff3081e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1744 from OneSignal/user-model/adm-support

    [User Model] ADM Fixes
    brismithers authored Mar 14, 2023
    Configuration menu
    Copy the full SHA
    f314151 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1746 from OneSignal/user-model/upgrade-receiver-c…

    …alled-before-init
    
    [User Model] Safeguard against activities/services/receivers being called before initialization
    brismithers authored Mar 14, 2023
    Configuration menu
    Copy the full SHA
    f9b0f75 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2023

  1. [User Model] ensure 100% unit test pass

    * Update RefreshUserOperationExecutorTests to account for it only accepting the local push subscription
    * Fix ApplicationService.kt logic to ensure existing unit tests pass.
    brismithers committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    5124ed0 View commit details
    Browse the repository at this point in the history
  2. [User Model] Don't show "Missing Google Project number!" error messag…

    …e until remote config loaded.
    brismithers committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    fe5f854 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2023

  1. Configuration menu
    Copy the full SHA
    ad10873 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2023

  1. Configuration menu
    Copy the full SHA
    b13819e View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2023

  1. Configuration menu
    Copy the full SHA
    cbbb7fa View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1754 from OneSignal/user-model/trigger-as-string

    [User Model] Change `addTrigger` to accept a `String` instead of `Any`
    brismithers authored Mar 30, 2023
    Configuration menu
    Copy the full SHA
    82f0774 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1750 from OneSignal/user-model/incorrect-error-me…

    …ssage
    
    [User Model] Don't show "Missing Google Project number!" error message until remote config loaded.
    brismithers authored Mar 30, 2023
    Configuration menu
    Copy the full SHA
    0b3a432 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7461ecf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fdee4a7 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1758 from OneSignal/user-model/ktlint-fixes

    [User Model] Make ktlint fixes
    brismithers authored Mar 30, 2023
    Configuration menu
    Copy the full SHA
    f1f7bcb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b62b895 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2023

  1. Merge pull request #1749 from OneSignal/user-model/broken-unit-tests

    [User Model] Ensure 100% unit test pass
    brismithers authored Apr 17, 2023
    Configuration menu
    Copy the full SHA
    4172f8b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    822eb71 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2023

  1. Merge pull request #1764 from OneSignal/user-model/pascal-case-areas

    Update high level components to be accessed via pascal case
    brismithers authored Apr 18, 2023
    Configuration menu
    Copy the full SHA
    e7c9594 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2023

  1. [User Model] Rename notification event listeners

    * Make all notification listeners 0:* (some were 0:1)
    * Renamed all "handlers" to be either a "listener" or an "observer" depending on their purpose.  All callbacks now have pattern "onXXXXXX" for each callback.
    * Use the terminology "click" instead of "open".
    * Add IEventNotifier.hasSubscribers to determine if there are subscribers. A few implementing classes had to add this.
    * Replaced `complete()` pattern with `preventDefault()` pattern in NSE notification received callback and foreground onWillDisplay callback.
    * Add IDisplayableNotification and IDisplayableMutableNotification which adds a `display()` function to an INotification. This allows the manual display of a notification, when `event.preventDefault()` is called.
    * Internally, rework NotificationGenerationProcessor to accommodate `preventDefault` pattern. The notification is now constructed when the notification job is constructed and is never copied/altered until the end of its lifecycle.
    * Update example application for new naming conventions and patterns.
    * Update for new naming conventions and patterns
    brismithers committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    ee63a38 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2023

  1. Update OneSignalSDK/onesignal/core/src/main/java/com/onesignal/notifi…

    …cations/IDisplayableNotification.kt
    
    Co-authored-by: William Shepherd <[email protected]>
    brismithers and iAmWillShepherd authored Apr 20, 2023
    Configuration menu
    Copy the full SHA
    8a9e6e6 View commit details
    Browse the repository at this point in the history
  2. Update OneSignalSDK/onesignal/core/src/main/java/com/onesignal/notifi…

    …cations/INotificationClickResult.kt
    
    Co-authored-by: William Shepherd <[email protected]>
    brismithers and iAmWillShepherd authored Apr 20, 2023
    Configuration menu
    Copy the full SHA
    8d0cd40 View commit details
    Browse the repository at this point in the history
  3. Update OneSignalSDK/onesignal/core/src/main/java/com/onesignal/notifi…

    …cations/INotificationLifecycleListener.kt
    
    Co-authored-by: William Shepherd <[email protected]>
    brismithers and iAmWillShepherd authored Apr 20, 2023
    Configuration menu
    Copy the full SHA
    1da3636 View commit details
    Browse the repository at this point in the history
  4. Update OneSignalSDK/onesignal/core/src/main/java/com/onesignal/notifi…

    …cations/INotificationServiceExtension.kt
    
    Co-authored-by: William Shepherd <[email protected]>
    brismithers and iAmWillShepherd authored Apr 20, 2023
    Configuration menu
    Copy the full SHA
    bbed11d View commit details
    Browse the repository at this point in the history
  5. Update OneSignalSDK/onesignal/core/src/main/java/com/onesignal/notifi…

    …cations/IDisplayableNotification.kt
    
    Co-authored-by: William Shepherd <[email protected]>
    brismithers and iAmWillShepherd authored Apr 20, 2023
    Configuration menu
    Copy the full SHA
    9ad8e09 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    28dac77 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2023

  1. Updates for lintcheck

    brismithers committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    bbeb09d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    88559d5 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2023

  1. Merge pull request #1765 from OneSignal/user-model/notification-events

    [User Model] Rename notification event listeners
    brismithers authored Apr 25, 2023
    Configuration menu
    Copy the full SHA
    ede53a0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f15b7a View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2023

  1. Update InAppMessageClickEvent/Result

    Change click listener param to `event` and event variable names from `action` to `result`
    jennantilla committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    ab6fe90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef2b432 View commit details
    Browse the repository at this point in the history
  3. [User Model] User Push Subscription Event update

    Only the push subscription can now be observed. Moving oberservable behavior out of ISubscription and into IPushSubscription
    
    Removing old subscription observer from MainActivityViewModel
    brismithers authored and emawby committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    ac3a2ab View commit details
    Browse the repository at this point in the history
  4. Fire onSubscriptionChanged event for all subscription types

    We only want to fire the changeHandlersNotifier for push subs but the onSubscriptionChanged for all subscriptions.
    emawby committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    e5a748c View commit details
    Browse the repository at this point in the history

Commits on May 1, 2023

  1. Merge pull request #1767 from OneSignal/user-model/click_event_result

    [User Model] Update click event result
    emawby authored May 1, 2023
    Configuration menu
    Copy the full SHA
    c77c903 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1766 from OneSignal/user-model/iam-events

    [User Model] Rename IAM event listeners
    emawby authored May 1, 2023
    Configuration menu
    Copy the full SHA
    ce67625 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    49480f0 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1768 from OneSignal/user-model/user-events

    [User model] Push Subscription Changed Event
    emawby authored May 1, 2023
    Configuration menu
    Copy the full SHA
    23433b6 View commit details
    Browse the repository at this point in the history
  5. Bumping versions for beta 3

    emawby committed May 1, 2023
    Configuration menu
    Copy the full SHA
    4665148 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1769 from OneSignal/user-model/beta3_release

    User Model beta 3 release
    emawby authored May 1, 2023
    Configuration menu
    Copy the full SHA
    7f56342 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    46efcf9 View commit details
    Browse the repository at this point in the history
  8. change the huawei package name to com.onesignal.sdktest

    This was required in order to get assembleRelease to build successfully. The demo app will not work without changes for Huawei builds
    emawby committed May 1, 2023
    Configuration menu
    Copy the full SHA
    3611eaa View commit details
    Browse the repository at this point in the history

Commits on May 3, 2023

  1. Configuration menu
    Copy the full SHA
    3706902 View commit details
    Browse the repository at this point in the history
  2. Updating the privacy consent property names

    requiresPrivacyConsent -> consentRequired
    privacyConsent -> consentGiven
    emawby committed May 3, 2023
    Configuration menu
    Copy the full SHA
    491fb92 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b743588 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2023

  1. Merge pull request #1771 from OneSignal/user-model/update_privacy_con…

    …sent_names
    
    User Model - Update privacy consent property names
    emawby authored May 4, 2023
    Configuration menu
    Copy the full SHA
    5064005 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1770 from OneSignal/user-model/add_to_json_object

    User model - add toJSONObject for push subscription event parameters
    emawby authored May 4, 2023
    Configuration menu
    Copy the full SHA
    3e39c0a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6e58fa0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f5e9056 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2023

  1. Merge pull request #1772 from OneSignal/user-model/beta4_release

    User model beta 4 release
    emawby authored May 8, 2023
    Configuration menu
    Copy the full SHA
    81fc303 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. Configuration menu
    Copy the full SHA
    5d04aeb View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2023

  1. Add session_time to OutcomeEvent

    * Add `sessionTime` as an additional property to an `OutcomeEvent` object
    * This is for the influenced session ending outcomes that send session_time to the outcomes endpoint
    * For `OutcomeEventParams` constructor, don't make the parameter `timestamp` optional, so not to confuse with other parameters when instantiating an instance
    nan-li committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    19afb08 View commit details
    Browse the repository at this point in the history
  2. Send influenced session outcome

    * Create separate outcome-related method `sendSessionEndOutcomeEvent`
    * We were also sending session_time in ms, but it should be seconds.
    nan-li committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    43fa3cc View commit details
    Browse the repository at this point in the history
  3. update outcomes table to include session_time column

    * Update database version to v9 and make migration.
    * I default this new `session_time` to a value of `1` instead of `0` intentionally to work around an issue from the v5.0.0-beta's for migration's sake and get these outcomes migrated, sent, and done with.
    * When outcome requests fail, they are cached for retrying. The v5.0.0-beta's likely encountered failure responses and cached these. If there are cached `os__session_duration` outcomes and we send them off with zero session_time, the server will keep sending us a failure response. So, let's just send a time of 1 second.
    nan-li committed Aug 6, 2023
    Configuration menu
    Copy the full SHA
    49ed920 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    97a2bce View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. Modify create user operation to send less associated info

    * Let's send less data into a create user request to minimize changes that other information in the request payload causes the create user request to fail.
    * At time of writing, common failure cases are subscriptions over limit or tags over limit.
    * We won't combine alias, tags, and properties operations to the create user operation.
    * Ideally we only want to combine the push subscription operations and not any sms or email operations to the create user operation, but it will require more changes to the SDK.
    * For now, we will send any subscription operations with the create user operation, but no tags, aliases, or properties.
    nan-li committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    f1d204e View commit details
    Browse the repository at this point in the history
  2. Fix tests after create user operation changes

    * Delete test `create user with an alias and properties creates a new user`
    * change arguments to `createUser()` after the `properties` parameter is removed
    nan-li committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    da91c6a View commit details
    Browse the repository at this point in the history
  3. [nit] add note about OutcomeEventParams.timestamp

    * When an outcome is created, its `timestamp` should start out as zero.
    * When the outcome request is sent and fails, the SDK will save and retry the outcome, then it will save the current `timestamp` for future sending
    nan-li committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    b1b4d99 View commit details
    Browse the repository at this point in the history
  4. Make subscribers in EventProducer synchronized

    This fixes a concurrentmodificationexception
    emawby committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    5a33afe View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2023

  1. Merge pull request #1796 from OneSignal/fix/event_producer_crash

    [5.0.0] Make subscribers in EventProducer synchronized
    emawby authored Aug 8, 2023
    Configuration menu
    Copy the full SHA
    aed2897 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. Configuration menu
    Copy the full SHA
    8b58c6e View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. Merge pull request #1798 from OneSignal/fix/canRequestPermission_retu…

    …rns_true
    
    [5.0.0] Fix canRequestPermission always returning true
    emawby authored Aug 10, 2023
    Configuration menu
    Copy the full SHA
    b8441cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b3eb9b9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a3b2f17 View commit details
    Browse the repository at this point in the history
  4. Adding zapier, release-drafter, and response time actions

    Copying over the Github actions from main to the user model branch
    emawby committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    5fd6dfb View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1800 from OneSignal/user_model/copy_actions_from_…

    …main
    
    [ User model] Adding zapier, release-drafter, and response time actions
    emawby authored Aug 10, 2023
    Configuration menu
    Copy the full SHA
    fda8ee2 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1793 from OneSignal/user_model/fix_outcome_requests

    [5.0.0] Fix outcome requests
    emawby authored Aug 10, 2023
    Configuration menu
    Copy the full SHA
    977130c View commit details
    Browse the repository at this point in the history
  7. Merge pull request #1801 from OneSignal/user-model/ga_updates

    [User Model] bump build.gradle dependencies to match main
    emawby authored Aug 10, 2023
    Configuration menu
    Copy the full SHA
    9cbbf70 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #1794 from OneSignal/user_model/improve_create_use…

    …r_erroring
    
    [5.0.0] Combine less operations with the create user operation
    emawby authored Aug 10, 2023
    Configuration menu
    Copy the full SHA
    67c2c52 View commit details
    Browse the repository at this point in the history
  9. set inAppMessageIdShowing back to null after display

    Remove return if lifecycleCallback.hasSubscribers is false
    jennantilla authored and emawby committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    8ab25ce View commit details
    Browse the repository at this point in the history
  10. Merge pull request #1799 from OneSignal/fix/iam

    [5.0.0] Fix IAM display & dismiss bugs
    emawby authored Aug 10, 2023
    Configuration menu
    Copy the full SHA
    ed80fcc View commit details
    Browse the repository at this point in the history
  11. Don't crash if login fails

    emawby committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    7cf7038 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    67912a4 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    54fb095 View commit details
    Browse the repository at this point in the history
  14. Don't throw for empty tag keys

    emawby committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    2a8fc52 View commit details
    Browse the repository at this point in the history
  15. Merge pull request #1802 from OneSignal/user_model/remove_throws

    User model/remove throws
    emawby authored Aug 10, 2023
    Configuration menu
    Copy the full SHA
    950b275 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    f10913f View commit details
    Browse the repository at this point in the history
  17. Update migration guide

    nan-li committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    fb30348 View commit details
    Browse the repository at this point in the history
  18. Merge pull request #1803 from OneSignal/rel/5.0.0

    Release `5.0.0`
    nan-li authored Aug 10, 2023
    Configuration menu
    Copy the full SHA
    82fc8e8 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. Configuration menu
    Copy the full SHA
    c97fdb3 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. protecting all classmembers via consumer-rules.pro

    This is a shorterm fix that should be a catch all solution but will increase the size of the SDK.  Long term we should change how we are implementing dependency injection so that pro guard can better detect what can be removed.
    
    Keep all classes that implement IModule since they use reflection
    emawby committed Sep 1, 2023
    Configuration menu
    Copy the full SHA
    bce0f2f View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Merge pull request #1828 from OneSignal/fix/proguard_updates

    Fix proguard rules
    emawby authored Sep 7, 2023
    Configuration menu
    Copy the full SHA
    bb3041e View commit details
    Browse the repository at this point in the history
  2. bump to version 5.0.1

    emawby committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    a54f90c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1831 from OneSignal/release-5.0.1

    Release 5.0.1
    emawby authored Sep 7, 2023
    Configuration menu
    Copy the full SHA
    fea6fa1 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2023

  1. Fix bug for generating notification's android notification ID

    * Bug: The private setter was generating a random android notification ID but this private setter is never called. Setters are not triggered in initialization. This resulted in the android notification ID always being zero for every notification.
    * The fix: Now we set the random ID in initialization, and make the notification property immutable (a val instead of var) as it is never re-set anyway.
    nan-li committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    669fa51 View commit details
    Browse the repository at this point in the history
  2. Differentiate login failure cases

    * The implementation of login with external_id has not changed
    * Add new ExecutionResult type of FAIL_CONFLICT to differentiate this case from general failure case of FAIL_NORETRY
    * Add logs for both type of responses, but still try to create the user on both failures (as before)
    nan-li committed Sep 15, 2023
    Configuration menu
    Copy the full SHA
    b4de371 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. Send timezone_id on createuser

    emawby committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    7fe6a47 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9a1bee3 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2023

  1. Configuration menu
    Copy the full SHA
    2e4b382 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    545e5cd View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1844 from OneSignal/rename-kotlin-modules

    [Fix] Rename kotlin modules
    shepherd-l authored Sep 20, 2023
    Configuration menu
    Copy the full SHA
    9f7f9a0 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. Fix crash from missing operationExecutor in OperationModelStore create

    I removed throwing from create for non-singleton model stores. I kept throw if a singleton model store is unable to create its model.
    emawby committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    b65c008 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1845 from OneSignal/fix/crash_on_login_from_user_sub

    Fix crash from missing operationExecutor in OperationModelStore create
    emawby authored Sep 21, 2023
    Configuration menu
    Copy the full SHA
    cbfaeb9 View commit details
    Browse the repository at this point in the history
  3. Replace messageView non-null assertion with safe call operator

    Prevents NullPointerException crash when auto-dismiss IAM is manually closed.
    jennantilla committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    ea70883 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6fab6bb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2f3cc69 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. Configuration menu
    Copy the full SHA
    cfca9ce View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1840 from OneSignal/user_model/fix_notifications_…

    …replacing_each_other
    
    [5.0.0] Fix new notifications were replacing old ones
    emawby authored Sep 22, 2023
    Configuration menu
    Copy the full SHA
    2e04cd1 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1841 from OneSignal/user_model/add_login_409_logs

    [5.0.0] Differentiate login errors and add logs
    emawby authored Sep 22, 2023
    Configuration menu
    Copy the full SHA
    9a5c959 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cdc09c1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d49858c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7bd784f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3402c6d View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2023

  1. Merge pull request #1846 from OneSignal/fix/in_app_npe_crash

    Fix In-App Message auto-dismiss crash
    emawby authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    2de5c46 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1842 from OneSignal/fix/timezone_id_not_set

    Fix timezone_id not being set
    emawby authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    6839f4c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1c184ff View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1847 from OneSignal/fix/language_not_set

    Fix language not being set
    jennantilla authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    bb041ad View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1849 from OneSignal/fix/concurrent_modification_e…

    …xception
    
    Fix concurrent modification exception
    emawby authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    a5c88de View commit details
    Browse the repository at this point in the history
  6. Version bump for release

    jennantilla committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    079139c View commit details
    Browse the repository at this point in the history
  7. Merge pull request #1852 from OneSignal/rel/5.0.2

    Release 5.0.2
    jennantilla authored Sep 25, 2023
    Configuration menu
    Copy the full SHA
    3488c90 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. Fix Amazon purchase tracking setup

    * Correctly set the `listenerHandlerObject` object when it was previously always equal to Kotlin.Unit due to the order the statements within the catch statement.
    * Cast to PurchasingListener? since it is a optional type.
    nan-li committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    1541487 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Differentiate appstore v3.0.4

    * Amazon Appstore SDK v3.0.4 released March 13, 2023 changed the name of a method we utilize.
    nan-li committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    9794d5e View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Read in dismissed IAMs on IAM Manager start

    * The IAM Manager holds a list of IAMs that have been seen and dismissed by the user called `_dismissedMessages`.
    * We were not setting this list up, and this leads to bugs like displaying IAMs on app start that should not be displayed.
    nan-li committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    b253e40 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1860 from OneSignal/fix/amazon_purchase_tracking_…

    …startup
    
    Fix Amazon purchase tracking setup
    nan-li authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    c864d7d View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1863 from OneSignal/fix/iam_showing_on_app_launch

    Fix IAMs showing inappropriately on every cold start
    nan-li authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    52e27ea View commit details
    Browse the repository at this point in the history
  4. release commit 5.0.3

    bump version numbers
    nan-li committed Oct 6, 2023
    Configuration menu
    Copy the full SHA
    3bf087e View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1865 from OneSignal/rel/android_5.0.3

    Release 5.0.3
    nan-li authored Oct 6, 2023
    Configuration menu
    Copy the full SHA
    1721ec7 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. Configuration menu
    Copy the full SHA
    243cb0a View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. Update ktlint version

    shepherd-l committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    7b8444d View commit details
    Browse the repository at this point in the history
  2. Run ktlint format

    Changes from running ktlintFormat
    shepherd-l committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    3899146 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aed50e6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    92ae453 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cf9aef5 View commit details
    Browse the repository at this point in the history
  6. Fix import linting errors

    remove wildcard imports
    jennantilla committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    b24c3a6 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. update location module property naming

    address linting error that enforces camel case
    jennantilla committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    f837e97 View commit details
    Browse the repository at this point in the history
  2. Update InAppMessages property naming

    address linting errors that enforce camel case and prohibits leading underscore
    jennantilla committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    af506e7 View commit details
    Browse the repository at this point in the history
  3. Update core module property naming

    address linting error that enforces camel case/screaming snake case & disallows backticks
    jennantilla committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    56948ba View commit details
    Browse the repository at this point in the history
  4. Update notifications module property naming

    address linting error that enforces camel case and screaming snake case
    jennantilla committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    151a7f9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e8801c2 View commit details
    Browse the repository at this point in the history
  6. Remove detekt

    shepherd-l committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    c0c6e9d View commit details
    Browse the repository at this point in the history
  7. Merge pull request #1881 from OneSignal/remove-detekt

    Remove detekt
    shepherd-l authored Oct 26, 2023
    Configuration menu
    Copy the full SHA
    43f36f4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0fb3003 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Configuration menu
    Copy the full SHA
    0ee4ef3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a8ce6a View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Configuration menu
    Copy the full SHA
    390f1f0 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. Merge pull request #1884 from /issues/1874-deserialize-tag-with-ident…

    …ical-method-name
    
    Update PropertiesModel's deserialization of tags to not use `Model.initializeFromJson`
    brismithers authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    1ec2723 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1888 from /issues/1812-adm-purchase-listener-on-u…

    …nsubscribe
    
    Retrieve current ADM PurchasingListener assuming it returns a nullable.
    brismithers authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    ec3d03d View commit details
    Browse the repository at this point in the history
  3. Add synchronized block to get method

    ensure additional thread safety in SingletonModelStore
    jennantilla committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    9447835 View commit details
    Browse the repository at this point in the history
  4. Update initializeFromModel to never clear the model id

    Prevent a null id
    jennantilla committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    e8bf0e8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    68d2b5a View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1882 from OneSignal/fix/linting

    Fix linting errors in GitHub Actions build test workflow
    jennantilla authored Nov 1, 2023
    Configuration menu
    Copy the full SHA
    ca26745 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. Configuration menu
    Copy the full SHA
    c742bbf View commit details
    Browse the repository at this point in the history
  2. Update work-runtime dependency version

    Prevents gradle crash with latest version of WorkManager
    jennantilla committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    81cb885 View commit details
    Browse the repository at this point in the history
  3. Update comment linting errors

    Errors:
    - Replace the block comment with an EOL comment
    - A multiline expression should start on a new line
    jennantilla committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    f5fe01e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    df534d5 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Configuration menu
    Copy the full SHA
    1847cb4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae758cf View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1876 from OneSignal/fix/concurrent_modification_e…

    …xception
    
    Fix: Add synchronized blocks to prevent ConcurrentModificationException
    jennantilla authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    d8abaee View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1883 from OneSignal/fix/unitTests

    Fix SDK Unit Test failing in GitHub Actions build test workflow
    jennantilla authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    5df036a View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1890 from OneSignal/fix/work-runtime_dependency_bump

    Update work-runtime dependency version
    jennantilla authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    7d994a9 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #1891 from OneSignal/fix/PropertiesModelTests_linting

    Update comment linting errors on PropertiesModelTests
    jennantilla authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    a86c887 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #1887 from /issues/1871-protect-thread-exceptions

    General protection against exceptions that occur on a thread.
    jennantilla authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    9d66a3d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f8162dc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3f00ac1 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #1899 from OneSignal/rel/5.0.4

    Release 5.0.4
    jennantilla authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    ff841f9 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. Configuration menu
    Copy the full SHA
    9a32cf7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ae8991b View commit details
    Browse the repository at this point in the history
  3. Add intent verification to BroadcastReceiver classes

    Update onReceive methods to check for correct action before proceeding. This prevents potential risk of third-party applications to send explicit intents to this receiver to cause a denial of service.
    jennantilla committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    48eb818 View commit details
    Browse the repository at this point in the history