Skip to content

Commit

Permalink
Merge pull request #122 from Iterable/MOB-2796-version-1.0.26
Browse files Browse the repository at this point in the history
[MOB-2796] version 1.0.26
  • Loading branch information
roninopf authored Apr 1, 2021
2 parents 8cf29c5 + ed1166a commit d20830d
Show file tree
Hide file tree
Showing 6 changed files with 419 additions and 318 deletions.
6 changes: 3 additions & 3 deletions Iterable-React-Native-SDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ Pod::Spec.new do |s|

s.swift_version = '5.3'

s.dependency 'Iterable-iOS-SDK', '~> 6.2.20'
s.dependency 'React'
end
s.dependency 'Iterable-iOS-SDK', '~> 6.2.21'
s.dependency 'React-Core'
end
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ def getModuleVersion() {

dependencies {
implementation 'com.facebook.react:react-native:+'
api 'com.github.Iterable.iterable-android-sdk:iterableapi:3.2.10'
api 'com.github.Iterable.iterable-android-sdk:iterableapi:3.2.12'
}
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,11 @@ public void execute(@Nullable Uri url) {
});
}

@ReactMethod
public void setReadForMessage(String messageId, boolean read) {
IterableApi.getInstance().getInAppManager().setRead(RNIterableInternal.getMessageById(messageId), read);
}

@ReactMethod
public void getHtmlInAppContentForMessage(String messageId, final Promise promise) {
IterableLogger.printInfo();
Expand Down
6 changes: 6 additions & 0 deletions ios/RNIterableAPI/ReactIterableAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,12 @@ extension ReactIterableAPI: IterableAuthDelegate {
DispatchQueue.main.async {
completion(self.passedAuthToken)
}
} else {
ITBInfo("authTokenRetrieval timed out")

DispatchQueue.main.async {
completion(nil)
}
}
}
}
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@iterable/react-native-sdk",
"version": "1.0.25",
"version": "1.0.26",
"description": "Iterable SDK for React Native.",
"main": "./js/index.js",
"types": "./js/index.d.ts",
Expand Down Expand Up @@ -43,6 +43,7 @@
"typescript": "^3.9.5"
},
"peerDependencies": {
"react-native": "^0.62.2"
"react": "*",
"react-native": "*"
}
}
Loading

0 comments on commit d20830d

Please sign in to comment.