mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-04-29 12:45:42 +08:00
Added support react-native-windows dotNet Added example for react-native-windows UWP based Added example for react-native-windows dotNet based Project structure: CodePush.Shared - shared code between UWP and dotNet CodePush - UWP specific code CodePush.Net46 - dotNet specific code For UWP solution it needs to be added the following projects: CodePush.Shared CodePush For dotNet solution it needs to be added the following projects: CodePush.Shared CodePush.Net46 Examples: Examples\CodePushDemoApp\windows\CodePushDemoApp.sln the solution contains both examples (UWP and dotNet). Notes Example for ARM configuration has not been tested. Since there is no changes in UWP part of implementation, there is low risk of failure. In this implementation we tried to reuse UWP library as much as possible. The following issues are relevant for both platforms: ZipFile.ExtractToDirectory is not reliable and throws exception if: folder exists already path is too long (> 250 chars) Un-zipping is quite long operation. Does it make sense for async? await UpdateUtils.UnzipBundleAsync(downloadFile.Path, unzippedFolder.Path);
88 lines
939 B
Plaintext
88 lines
939 B
Plaintext
# OSX
|
|
#
|
|
.DS_Store
|
|
|
|
# Xcode
|
|
#
|
|
build/
|
|
*.pbxuser
|
|
!default.pbxuser
|
|
*.mode1v3
|
|
!default.mode1v3
|
|
*.mode2v3
|
|
!default.mode2v3
|
|
*.perspectivev3
|
|
!default.perspectivev3
|
|
xcuserdata
|
|
*.xccheckout
|
|
*.moved-aside
|
|
DerivedData
|
|
*.hmap
|
|
*.ipa
|
|
*.xcuserstate
|
|
|
|
# node.js
|
|
#
|
|
node_modules/
|
|
npm-debug.log
|
|
|
|
# Don't publish example apps
|
|
Examples/
|
|
Recipes/
|
|
|
|
# Don't publish testing code
|
|
bin/
|
|
test/
|
|
|
|
# Remove after this framework is published on NPM
|
|
code-push-plugin-testing-framework/
|
|
|
|
# Android build artifacts and Android Studio bits
|
|
android/app/build
|
|
android/local.properties
|
|
android/.gradle
|
|
android/**/*.iml
|
|
android/.idea
|
|
|
|
|
|
# Windows
|
|
windows/.vs/
|
|
windows/obj/
|
|
|
|
#Tests
|
|
windows/CodePush.Net46.Test
|
|
|
|
#Visual Studio files
|
|
*.[Oo]bj
|
|
*.user
|
|
*.aps
|
|
*.pch
|
|
*.vspscc
|
|
*.vssscc
|
|
*_i.c
|
|
*_p.c
|
|
*.ncb
|
|
*.suo
|
|
*.tlb
|
|
*.tlh
|
|
*.bak
|
|
*.[Cc]ache
|
|
*.ilk
|
|
*.log
|
|
*.lib
|
|
*.sbr
|
|
*.sdf
|
|
*.opensdf
|
|
*.opendb
|
|
*.unsuccessfulbuild
|
|
ipch/
|
|
[Oo]bj/
|
|
[Bb]in
|
|
[Dd]ebug*/
|
|
[Rr]elease*/
|
|
Ankh.NoLoad
|
|
|
|
#NuGet
|
|
packages/
|
|
*.nupkg
|