Skip to content

Commit

Permalink
Merge pull request #43 from testfairy/feat-uninstall-shake
Browse files Browse the repository at this point in the history
Added uninstallFeedbackHandler()
  • Loading branch information
diegoperini authored Dec 29, 2021
2 parents fab50a8 + 29558a7 commit e668646
Show file tree
Hide file tree
Showing 12 changed files with 671 additions and 25 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- name: Update native SDK versions
if: startsWith(github.ref, 'refs/tags/')
run: |
ANDROID_SDK_VERSION=1.12.17
IOS_VERSION=1.29.4
ANDROID_SDK_VERSION=1.12.18
IOS_VERSION=1.29.5
echo ${GITHUB_REF##*/} > RELEASE_TAG
sed -i '' "s/\"version\":.*/\"version\":\"$(cat RELEASE_TAG)\",/g" package.json
sed -i '' "s/com.testfairy:testfairy-android-sdk:.*/com.testfairy:testfairy-android-sdk:${ANDROID_SDK_VERSION}@aar'/" android/build.gradle
Expand Down
2 changes: 1 addition & 1 deletion React-TestFairy.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ Pod::Spec.new do |s|
s.requires_arc = true
s.frameworks = "UIKit", "CoreMedia", "CoreMotion", "AVFoundation", "AVFoundation", "OpenGLES", "SystemConfiguration"
s.dependency "React"
s.dependency "TestFairy", "1.29.4"
s.dependency "TestFairy", "1.29.5"
end
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {

dependencies {
api 'com.facebook.react:react-native:+'
api 'com.testfairy:testfairy-android-sdk:1.12.17@aar'
api 'com.testfairy:testfairy-android-sdk:1.12.18@aar'
}

class TestFairyRepositoryPlugin implements Plugin<Gradle> {
Expand Down
10 changes: 10 additions & 0 deletions android/src/main/java/com/testfairy/react/TestFairyModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,16 @@ public void run() {
});
}

@ReactMethod
public void uninstallFeedbackHandler() {
runOnUi(new Runnable() {
@Override
public void run() {
TestFairy.uninstallFeedbackHandler();
}
});
}

@ReactMethod
public void setCorrelationId(final String correlationId) {
runOnUi(new Runnable() {
Expand Down
Loading

0 comments on commit e668646

Please sign in to comment.