Skip to content

chore: Upgrade Android Iterableapi to 3.5.3 #575

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions SampleApp/typescript/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -760,10 +760,10 @@
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45"
integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==

"@iterable/react-native-sdk@^1.3.11":
version "1.3.12"
resolved "https://registry.yarnpkg.com/@iterable/react-native-sdk/-/react-native-sdk-1.3.12.tgz#e0f3176f45aeacd096a02aeca50f916c39b25ef7"
integrity sha512-Cn5xxuQ2+Cretm29hGYrq0zyMhXThaY0yvqRQRvSxDMrOaUGGwHbBnegvuswyDnwVUPHcPh004LuWcgFpZOsRg==
"@iterable/react-native-sdk@^1.3.20":
version "1.3.20"
resolved "https://registry.npmjs.org/@iterable/react-native-sdk/-/react-native-sdk-1.3.20.tgz#3233cb4786bf8f7f0d6c926c40ba72d15fc11e4f"
integrity sha512-NijwbnTCUWpIIebX11HSBijNESP9GlhRhkoGxFTMeDWd3X1J4I4HVq3g9/QQbX9X3VJQ1AwfbdokETIkRqzIYQ==
dependencies:
"@react-native-community/hooks" "^2.6.0"
"@react-navigation/native" "^6.0.6"
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ def getModuleVersion() {

dependencies {
implementation 'com.facebook.react:react-native:+'
api 'com.iterable:iterableapi:3.5.2'
api 'com.iterable:iterableapi:3.5.3'
// api project(':iterableapi') // links to local android SDK repo rather than by release
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import com.facebook.react.bridge.WritableMap;
import com.facebook.react.modules.core.DeviceEventManagerModule;
import com.facebook.react.modules.core.RCTNativeAppEventEmitter;
import com.iterable.iterableapi.AuthFailure;
import com.iterable.iterableapi.InboxSessionManager;
import com.iterable.iterableapi.IterableAction;
import com.iterable.iterableapi.IterableActionContext;
Expand Down Expand Up @@ -597,7 +598,7 @@ public void onTokenRegistrationSuccessful(String authToken) {
}

@Override
public void onTokenRegistrationFailed(Throwable object) {
public void onAuthFailure(AuthFailure authFailure) {
IterableLogger.v(TAG, "Failed to set authToken");
sendEvent(EventName.handleAuthFailureCalled.name(), null);
}
Expand Down