Skip to content
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
2 changes: 2 additions & 0 deletions ios/RNAppsFlyer.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
TVOS_DEPLOYMENT_TARGET = 12.0;
};
name = Debug;
};
Expand Down Expand Up @@ -197,6 +198,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 7.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
TVOS_DEPLOYMENT_TARGET = 12.0;
VALIDATE_PRODUCT = YES;
};
name = Release;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/AppsFlyerSDK/react-native-appsflyer.git"
"url": "https://github.com/CuriosityStream/appsflyer-react-native-plugin.git#tvos"
},
"author": "Appsflyer / Maxim Shoustin",
"license": {
Expand Down Expand Up @@ -56,4 +56,4 @@
"<rootDir>/__tests__/setup.js"
]
}
}
}
2 changes: 1 addition & 1 deletion react-native-appsflyer.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Pod::Spec.new do |s|
s.author = pkg["author"]
s.source = { :git => pkg["repository"]["url"] }
s.source_files = 'ios/**/*.{h,m}'
s.platform = :ios, "9.0"
s.platforms = { :ios => "9.0", :tvos => "12.0" }
s.static_framework = true
s.dependency 'React'

Expand Down
10 changes: 4 additions & 6 deletions react-native.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
const path = require('path');

module.exports = {
dependency: {
platforms: {
ios: { podspecPath: path.join(__dirname, 'react-native-appsflyer.podspec') },
android: {
packageImportPath: 'import com.appsflyer.reactnative.RNAppsFlyerPackage;',
packageInstance: 'new RNAppsFlyerPackage()',
packageImportPath:
"import com.appsflyer.reactnative.RNAppsFlyerPackage;",
packageInstance: "new RNAppsFlyerPackage()",
},
},
},
};
};