Skip to content

Commit

Permalink
Merge pull request flexn-io#287 from pavjacko/feat/deploy_tvos_androidtv
Browse files Browse the repository at this point in the history
Feat/deploy tvos androidtv
  • Loading branch information
pavjacko authored Oct 1, 2019
2 parents 91faeeb + 74f8a10 commit 05df13b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
7 changes: 7 additions & 0 deletions packages/rnv/platformTemplates/tvos/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,10 @@ target 'RNVAppTVOS' do
pod 'glog', :podspec => '../../node_modules/react-native/third-party-podspecs/glog.podspec'
{{PLUGIN_PATHS}}
end

pre_install do |installer|
# workaround for https://github.com/CocoaPods/CocoaPods/issues/3289
Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
end

{{PLUGIN_PODFILE_INJECT}}
11 changes: 1 addition & 10 deletions packages/rnv/platformTemplates/tvos/exportOptions.plist
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>method</key>
<string>app-store</string>
<key>teamID</key>
<string>{{TEAM_ID}}</string>
</dict>
</plist>
{{PLUGIN_EXPORT_OPTIONS}}
2 changes: 2 additions & 0 deletions packages/rnv/src/platformTools/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ const _rnvDeployWithPlatform = async (c) => {
await rnvBuild(c);
}
return deployWeb(c, platform);
case TVOS:
case IOS:
if (!c.program.only) {
return _rnvExportWithPlatform(c);
Expand All @@ -356,6 +357,7 @@ const _rnvDeployWithPlatform = async (c) => {
await rnvBuild(c);
}
return;
case ANDROID_TV:
case ANDROID:
if (!c.program.only) {
return _rnvBuildWithPlatform(c);
Expand Down

0 comments on commit 05df13b

Please sign in to comment.