Skip to content
Open

V2 #5

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1703 commits
Select commit Hold shift + click to select a range
5abea28
SetRoot wait for render (#4688)
yogevbd Feb 6, 2019
eda4b9c
Null check when parsing strings
guyca Feb 6, 2019
b3b88d1
Improved RNNSplashScreen status bar styling (#4698)
danielgindi Feb 7, 2019
545e5fe
Add Icon insets support for buttons (#4699)
yogevbd Feb 7, 2019
81c5a92
Add colored icon to BottomTabs screen
guyca Feb 7, 2019
7e15d59
Remove get current leaf, better options resolving (#4700)
yogevbd Feb 7, 2019
3f92856
Update package.json version to 2.10.0 [ci skip]
mobile1-internal Feb 7, 2019
2362655
[V2][iOS] Additional mergeOptions BottomTab Support (#4704)
Feb 7, 2019
600a1d1
Fix android build for RN 0.58.x (#4706)
alpha0010 Feb 8, 2019
0d1717c
Update package.json version to 2.11.0 [ci skip]
mobile1-internal Feb 10, 2019
8e50a8e
Update changelog
guyca Feb 10, 2019
dfd894a
Fix launch image matching for iPhone XR/XS Max portrait (#4707)
oblador Feb 11, 2019
3766a1a
Update waitForRender documentation
guyca Feb 11, 2019
298ec43
Add waitForRender to root animation options
guyca Feb 12, 2019
a9bbec8
changed the link to clone the library (#4725)
ialmoqren Feb 13, 2019
8ba9796
Stop using lodash in store.js (#4729)
guyca Feb 13, 2019
e7c0d16
Fix peek and pop preview on iOS (#4735)
yogevbd Feb 14, 2019
664ef34
Ignore pan gesture when no drawer is enabled (#4649)
StasDoskalenko Feb 14, 2019
362606b
Use autolayout constraints to set size of custom bar button item (#4732)
eliperkins Feb 14, 2019
d09d010
RTL Layout (#4575)
hadimostafapour Feb 14, 2019
62f986b
Update package.json version to 2.12.0 [ci skip]
mobile1-internal Feb 17, 2019
be17322
[V2] Fix: typo in documentation: Stater kits (#4762)
Feb 19, 2019
c82bc57
Fix loading local images (#4769)
guyca Feb 20, 2019
43f05ee
Update side menu options on open / close callback (#4745)
gosuperninja Feb 21, 2019
f5ada51
Add SideMenu tests related to open gesture
guyca Feb 21, 2019
e036743
Fixes initial screen size (#4781)
yogevbd Feb 24, 2019
bfdd41f
Cleanup and reorganise playground app (#4767)
guyca Feb 24, 2019
6065bd1
Add to interface OptionsAnimationProperties (#4780)
taichi-jp Feb 25, 2019
8282d93
Fix top bar buttons size on iOS 10 (#4783)
yogevbd Feb 26, 2019
aba58b6
Prevent keyboard from hiding when overlay is shown (#4778)
tomhicks Feb 26, 2019
e50906d
Xcode10 (#4795)
yershalom Feb 27, 2019
54ff1cd
Fix overflow visible for react button components in TopBar (#4802)
guyca Feb 28, 2019
987545b
Update package.json version to 2.13.0 [ci skip]
mobile1-internal Feb 28, 2019
b4250e7
Update changelog
guyca Feb 28, 2019
e915bec
Update CHANGELOG.md
guyca Feb 28, 2019
617c5ba
Fixed broken links to Usage and LayoutTypes (#4803)
jamespearson Feb 28, 2019
2c514d9
Move uilib to devDependencies (#4806)
guyca Mar 1, 2019
c6b6f73
Update package.json version to 2.13.1 [ci skip]
mobile1-internal Mar 1, 2019
40d2520
layout direction docs (#4810)
hadimostafapour Mar 3, 2019
047ea44
Fix code sample in the documentation for layouts bottomTabs (#4808)
mukeshmandiwal Mar 3, 2019
b054fca
s/asembleDebug/assembleDebug (#4816)
charpeni Mar 5, 2019
1899601
[Android] Fix title glitch and alignment (#4809)
hadimostafapour Mar 7, 2019
f67c59c
Fix typos in styling.md (#4829)
charpeni Mar 9, 2019
5775096
Clean playground app
guyca Mar 10, 2019
47b7d2c
Cancel in-flight push animation on pop (#4842)
guyca Mar 10, 2019
fdee254
Fix crash when calling setStackRoot multiple times in quick successio…
guyca Mar 10, 2019
81d8b69
[V2] Fix iOS pop gesture when topBar is hidden (#4568)
rawrmaan Mar 11, 2019
025c5e8
Add direction property to OptionsLayout (#4847)
mohammadalijf Mar 11, 2019
24a8c53
Add ScrollView inside Overlay example
guyca Mar 12, 2019
996f2b1
Add enabled property to OptionsAnimationSeparateType (#4832)
larryranches Mar 14, 2019
eb17eb2
Some more code clean up in playground app
guyca Mar 12, 2019
dc1b980
Add peek pop example to playground app
guyca Mar 14, 2019
4517d22
[BREAKING] Rename animation options class name
guyca Mar 14, 2019
602c669
External component lifecycle events (#4872)
guyca Mar 17, 2019
66e5b55
Update package.json version to 2.14.0 [ci skip]
mobile1-internal Mar 17, 2019
1f25ecb
Document app launch and the differences between platforms in this regard
guyca Mar 17, 2019
f484c2c
Update changelog
guyca Mar 18, 2019
a98f187
Fix and refactor animations options (#4880)
yogevbd Mar 19, 2019
6cb1e18
[v2][iOS] Fix display empty custom topBar background over valid custo…
RoTTex Mar 20, 2019
5ba7ccb
no message (#4885)
yedidyak Mar 20, 2019
0186b1a
Prevent retaining button component in componentRegistry (#4888)
yogevbd Mar 20, 2019
62e2de4
Update package.json version to 2.15.0 [ci skip]
mobile1-internal Mar 20, 2019
1c740b7
[V2] Tweak app lifecycle docs (#4877)
ericketts Mar 21, 2019
0e29a03
Fixes command completion event commandId (#4766)
yogevbd Mar 24, 2019
e2dcef9
Fix topBar buttons iconsInsets
yogevbd Mar 25, 2019
ea245ae
Update package.json version to 2.16.0 [ci skip]
mobile1-internal Mar 26, 2019
370abbb
Update changelog (#4926)
retyui Mar 29, 2019
b444ab3
reorder installation instructions (#4932)
jonathanmos Mar 31, 2019
f9aabf2
add iOS setup step 3b. remove RCTBridgeDelegate from AppDelegate.h (#…
crunchysoul Mar 31, 2019
68c62f3
Bugfix [iOS]: Fix Height of sidemenu when device orientation changes …
mohammadalijf Mar 31, 2019
e954a41
Match android dependencies to app configuration (#4925)
alpha0010 Apr 1, 2019
9126ced
Do not setTag to bottomTabs if testId is null (#4935)
EliSadaka Apr 1, 2019
283f226
Clear sideMenu's visible options after applying (#4937)
ItsNoHax Apr 3, 2019
ac60d2f
Handle adding and removing components from registry manually by prese…
yogevbd Apr 3, 2019
9428233
Migrate to Detox 12 (#4956)
guyca Apr 7, 2019
7c43262
Update styling.md (#4954)
Apr 8, 2019
2830059
Explicit attaching and detaching viewControllers in store (#4947)
yogevbd Apr 8, 2019
ab9fd65
Fix StatusBarOptions being in xcodeproj twice (#4957)
tyronet-sportsbet Apr 8, 2019
f4f0090
Update package.json version to 2.17.0 [ci skip]
mobile1-internal Apr 8, 2019
8945528
Update changelog
guyca Apr 8, 2019
9d7d7f4
Add missing topMargin type to OptionsTopBar (#4950)
ceyhun Apr 8, 2019
275304c
Stop manually manage viewControllers store, Iterate layout instead (#…
yogevbd Apr 17, 2019
9dafd16
Add e2e for multiple setRoot (#4993)
yogevbd Apr 17, 2019
81dc07d
return componentId on showModal (#4992)
yogevbd Apr 17, 2019
2bddff3
Apply bottomTabs options after children added (#4994)
yogevbd Apr 17, 2019
0e1a35d
Fix sideMenu orientation options (#4995)
yogevbd Apr 17, 2019
189f559
Fix flaky unit tests (#4997)
yogevbd Apr 18, 2019
e9ca247
Add overlay.handleKeyboardEvents options (#5002)
yogevbd Apr 18, 2019
be00c4c
Fix top bar layout frame (#5008)
yogevbd Apr 21, 2019
9836730
[V2][iOS] Fix bottomTabs’s animate option (#4465)
wsliaw Apr 21, 2019
53cad2b
Document handleKeyboardEvents
guyca Apr 21, 2019
1155cbd
Update changelog
guyca Apr 21, 2019
e5661fe
Fix typescript
yogevbd Apr 21, 2019
c60dbdc
Update package.json version to 2.18.0 [ci skip]
mobile1-internal Apr 21, 2019
f74991b
Fix popGesture freezes the app, Closes #4388 (#5009)
yogevbd Apr 21, 2019
7c05701
Update package.json version to 2.18.1 [ci skip]
mobile1-internal Apr 22, 2019
0e888fb
Fix bottomTabs.currentTabIndex, Closes #5012 (#5013)
yogevbd Apr 22, 2019
1993b93
Fix top bar component layout frame size (#5015)
yogevbd Apr 23, 2019
3e54198
Update CHANGELOG.md
yogevbd Apr 24, 2019
2d5844e
Remove unnecessary file that causes linker errors (#5021)
kdawgwilk Apr 24, 2019
cb763b4
Add showAsAction prop (#5034)
retyui Apr 28, 2019
f3b1d34
Reset navigationItem.titleView before applying new one, Fix topBar.ti…
yogevbd Apr 28, 2019
40a0159
Update CHANGELOG.md
yogevbd Apr 28, 2019
0e8880d
Fix black/transparent background issue (#4896)
kdawgwilk Apr 29, 2019
9f439da
Fix topBar.title.component fill alignment (#5044)
yogevbd Apr 30, 2019
4f519a4
Update package.json version to 2.18.4 [ci skip]
mobile1-internal Apr 30, 2019
a5b9f58
Handle simultaneous recognizers (#5029)
jordoh May 2, 2019
42d6ff5
Migrate to using precompiled Detox aar (#5074)
d4vidi May 6, 2019
fbd42b0
Add detox loglevel trace
yogevbd May 7, 2019
7ca32b9
Add detox loglevel trace
yogevbd May 7, 2019
33d4935
Update package.json version to 2.18.5 [ci skip]
mobile1-internal May 7, 2019
0f4ecf4
Update CHANGELOG.md
yogevbd May 7, 2019
d00bf22
Support RN 0.59 (#5050)
guyca May 8, 2019
42fd86d
Update Options.ts (#5085)
May 12, 2019
42e26d7
Fixes broken modals animations, Closes #5036 (#5098)
yogevbd May 12, 2019
cd182f4
Explicitly clear bottom tabs options after mergeOptions (#5107)
guyca May 15, 2019
5566ffd
Refactor TopBarOptions (#5063)
retyui May 15, 2019
a346f3f
Update package.json version to 2.19.0 [ci skip]
mobile1-internal May 16, 2019
ecadcb0
Fix YellowBox removal (#5127)
guyca May 20, 2019
9a903ce
Update package.json version to 2.19.1 [ci skip]
mobile1-internal May 20, 2019
99032e0
Fix Topbar custom component flicker across screens #3864 (#5110)
FRizzonelli May 21, 2019
d3d01c2
Crawl layout only after dispatching events so it will contain passPro…
yogevbd May 21, 2019
ac2a61e
Update Changelog
guyca May 21, 2019
9a2a921
Align title after left button is set (#5129)
guyca May 21, 2019
0720bda
Update package.json version to 2.20.0 [ci skip]
mobile1-internal May 21, 2019
c226a7d
Pass component passProps to componentDidAppear event (#5139)
yogevbd May 23, 2019
2090c3d
Update package.json version to 2.20.1 [ci skip]
mobile1-internal May 23, 2019
d2d5d0f
Initialize topbar.background.component wrapper view on viewWillAppear…
yogevbd May 23, 2019
8d2165f
Fix topBar.background.component render behind title (#5144)
yogevbd May 23, 2019
6b190d4
Update package.json version to 2.20.2 [ci skip]
mobile1-internal May 23, 2019
7ee9c12
Emit SideMenu visibility events (#5149)
guyca May 24, 2019
e588a25
Reworded sentence about showAsAction in topbar button doc (#5147)
nielsdB97 May 26, 2019
ca28810
fix_4724: Fixes android crashes on startup (#5132)
MakhouT May 26, 2019
3c08b1c
Fix setStackRoot crash when called with the same id (#5154)
guyca May 26, 2019
1ca24f4
Update React Context API example
guyca May 27, 2019
f2e46ea
Address react conditions around ViewController.destroy (#5162)
guyca May 28, 2019
51d1b66
Safer check around component listener trigger (#5160)
dozoisch May 28, 2019
069cb85
Add title.topMargin option (#5163)
guyca May 29, 2019
9deb61a
Update package.json version to 2.21.0 [ci skip]
mobile1-internal May 29, 2019
2c4a884
Update changelog
guyca Jun 2, 2019
7438904
Remove setContentDescription calls (#3984) (#5196)
awnumar Jun 11, 2019
9735115
Document topBar options for Android's showAsAction (#5199)
ItsNoHax Jun 11, 2019
8ced964
Fix setStackRoot options (#5217)
yogevbd Jun 19, 2019
f72afeb
Update package.json version to 2.21.1 [ci skip]
mobile1-internal Jun 20, 2019
f53027d
Update CHANGELOG.md
yogevbd Jun 20, 2019
6334eef
Type correction (#5215)
akhan118 Jun 20, 2019
663b1c3
Fixed constants bug (#5201)
daveyjones Jun 20, 2019
29829ae
Possible fix for crash on ios when setting topbar left buttons with (…
MarianPalkus Jun 20, 2019
35a19b5
Remove android * imports for support (#5218)
heroic Jun 20, 2019
73d621d
Add width and height attributes to SideMenuSide type (#5235)
ball-hayden Jun 25, 2019
96661e3
Fix missing back button in last component on setStackRoot (#5240)
yogevbd Jun 27, 2019
1f9734d
Add tests for missing back button when stack root is set with multipl…
guyca Jun 27, 2019
898cf7a
Add back button to last child in setStackRoot
guyca Jun 27, 2019
1922568
Update package.json version to 2.22.1 [ci skip]
mobile1-internal Jun 27, 2019
c0ad194
Fix back button initialization on setStackRoot (#5246)
yogevbd Jul 1, 2019
8959d68
Support changing javascript bundle location in runtime (#5247)
yogevbd Jul 1, 2019
8b2d949
Update package.json version to 2.22.2 [ci skip]
mobile1-internal Jul 1, 2019
f19e523
Fix Constants.topBarHeight (#5252)
guyca Jul 2, 2019
5130649
Update package.json version to 2.22.3 [ci skip]
mobile1-internal Jul 2, 2019
cc2fa9f
Update changelog
guyca Jul 2, 2019
234c59c
fix margin top topbar when statusbar drawbehind (#5209)
isuhar Jul 3, 2019
a27d9ef
Delete code related to old SideMenu implementation (#5254)
guyca Jul 3, 2019
a591fe4
fix sidemenu rotation (#5243)
lionerez1 Jul 3, 2019
ae84e68
Fixing spelling on events doc (#5257)
Jul 4, 2019
fa1a20e
Update Installing.md (#5289)
ezrichards Jul 17, 2019
76d832b
Allow setting UITabBarItem.title to default value (#5280)
danilobuerger Jul 17, 2019
f425155
BottomTab dot indicator (#5283)
guyca Jul 18, 2019
418b052
Fix typo in topBarElevationShadowEnabled documentation (#5291)
Illu Jul 21, 2019
1cd6a44
Fix js test
guyca Jul 21, 2019
70a1d3b
Update package.json version to 2.23.0 [ci skip]
mobile1-internal Jul 21, 2019
43a86bb
Fix react view button flicking (#5301)
yogevbd Jul 21, 2019
f06787d
Destroy modals on setRoot (#5302)
guyca Jul 21, 2019
66ab3cd
Added Navigation.constants() return type (#5292)
danilobuerger Jul 21, 2019
6a253c1
Document dotIndicator (#5303)
guyca Jul 21, 2019
e677f97
[ios] Fix bug that reverts navbar title size to 17 (#5297)
dcvz Jul 21, 2019
8c8a3c1
New detox test command to run test cases when device is locked, one f…
varungupta85 Jul 21, 2019
80f8fd5
Add alexwasner/RNMFS starter kit (#5304)
alexwasner Jul 22, 2019
77ee4df
Fix flickering react view button
yogevbd Jul 22, 2019
41d2ace
Update package.json version to 2.24.0 [ci skip]
mobile1-internal Jul 22, 2019
a8a97af
update changelog
guyca Jul 22, 2019
21584fd
Ensure appLaunched event is emitted only when app is resumed
guyca Jul 22, 2019
0e6abed
Update package.json version to 2.25.0 [ci skip]
mobile1-internal Jul 23, 2019
f39f123
Fix setRoot wait for render (#5309)
rverbytskyi Jul 23, 2019
9804c62
Hides react view button until view size calculated
yogevbd Jul 24, 2019
f15e9b3
Apply TopBar buttons only if they are different than current buttons …
guyca Jul 24, 2019
bcf2f28
Update package.json version to 2.26.0 [ci skip]
mobile1-internal Jul 24, 2019
147cf4c
Fix transparent topBar background color transition (#5317)
yogevbd Jul 25, 2019
6ce27aa
Update CHANGELOG.md
yogevbd Jul 25, 2019
fcdacbc
Fix NPE when there are no default options
guyca Jul 25, 2019
a58798d
Update package.json version to 2.26.2 [ci skip]
mobile1-internal Jul 26, 2019
ecdb691
Fix rare race condition when applying bottomTabs.drawBehind (#5326)
guyca Jul 29, 2019
9f1544f
Update package.json version to 2.26.3 [ci skip]
mobile1-internal Aug 1, 2019
5459fa5
[V2][iOS] Added waitForRender support for setStackRoot (#5141)
Jazqa Aug 3, 2019
22191ed
Fix right buttons not getting applied after push and pop (#5353)
guyca Aug 4, 2019
61bc78b
Update package.json version to 2.26.4 [ci skip]
mobile1-internal Aug 4, 2019
4cc6b56
Fixes unnecessary rendering of the last viewController in setStackRoo…
yogevbd Aug 6, 2019
2cdf1ba
Fix flaky iOS unit tests
yogevbd Aug 6, 2019
f1a2c9d
Fix flaky iOS unit tests
yogevbd Aug 6, 2019
8dad9ae
Update package.json version to 2.26.5 [ci skip]
mobile1-internal Aug 6, 2019
fffd2d2
Apply layout direction directly on views (#5368)
guyca Aug 11, 2019
e5eaa76
Initial support for null as color (#5393)
guyca Aug 20, 2019
c630fb6
Version bump
guyca Aug 20, 2019
1a00053
Propagate new defaultOptions to presenters (#5404)
guyca Aug 22, 2019
9f6e09a
2.27.1
guyca Aug 22, 2019
8044b2d
Fix mergeOptions
guyca Aug 27, 2019
5e91b67
2.27.2
guyca Aug 27, 2019
1800e70
Fix applying merged backButton options (#5441)
guyca Sep 2, 2019
686cfb2
2.27.3
guyca Sep 2, 2019
7d6ff5d
Add animation support for setStackRoot (#5357)
Jazqa Sep 3, 2019
452c4e6
Remove duplicate setDefaultOptions in UIViewController categories (#5…
danilobuerger Sep 4, 2019
9faf458
Fix options resolving issues (#5450)
guyca Sep 4, 2019
65dde34
Fix button with react component doesn't get unmounted (#5457)
yogevbd Sep 5, 2019
1939e05
2.27.4
guyca Sep 5, 2019
3da2ca8
Stop recursive double setting of default options (#5456)
danilobuerger Sep 5, 2019
5c51be5
Revert "Fix button with react component doesn't get unmounted (#5457)"
guyca Sep 8, 2019
185115f
Revert "Revert "Fix button with react component doesn't get unmounted…
guyca Sep 8, 2019
88fd1f1
Fix infinite loop while trying to remove react buttons
guyca Sep 8, 2019
a32abd1
2.27.5
guyca Sep 8, 2019
8fdad0b
Update release script
yogevbd Sep 15, 2019
6cfde5e
Fix status bar disappear when presenting native camera screen on iOS …
yogevbd Sep 15, 2019
fc984cb
Use BRANCH jenkins variable in release script
yogevbd Sep 15, 2019
d8c9385
Update package.json version to 2.27.6 [ci skip]
mobile1-internal Sep 15, 2019
3c6314d
Upgrade playground app's Gradle to 5.1.1 (matches version of lib) (#5…
d4vidi Sep 16, 2019
adc10ce
Font weight option support for iOS (#5490)
yogevbd Sep 16, 2019
dbe9ae6
Revert "Upgrade playground app's Gradle to 5.1.1 (matches version of …
yogevbd Sep 16, 2019
728ced2
Update package.json version to 2.27.7 [ci skip]
mobile1-internal Sep 16, 2019
292076a
Fix title.component layouting on iOS 13 (#5493)
yogevbd Sep 17, 2019
8e4d509
Update package.json version to 2.27.8 [ci skip]
mobile1-internal Sep 17, 2019
5455d84
Fix merging fontWeight with default options
yogevbd Sep 18, 2019
1d335ba
Update package.json version to 2.27.9 [ci skip]
mobile1-internal Sep 18, 2019
758af24
Add support for getLaunchArgs on Android (#5466)
swabbass Sep 12, 2019
adfc5c9
Run detox e2e tests on iPhone 11 (#5518)
yogevbd Sep 26, 2019
acfef32
Revert "Run detox e2e tests on iPhone 11 (#5518)"
yogevbd Oct 3, 2019
ae447c4
NoColor returns nil
guyca Oct 22, 2019
84683e0
2.27.10
guyca Oct 23, 2019
6abb99f
Add optional NPM_TAG param in jenkins release
yogevbd Oct 23, 2019
d816d8c
Fix status bar appearance and title view layouting on iOS 13 (#5604)
yogevbd Oct 23, 2019
de2ea4e
Always merge options with parent controller (#5606)
guyca Oct 24, 2019
54b0c3a
Revert "Always merge options with parent controller (#5606)"
guyca Oct 30, 2019
5e70a25
Allow to update props for a specific component (#5612)
justtal Oct 29, 2019
c44c233
Support selectedIcon options on Android
guyca Oct 29, 2019
d7079e3
Bump AHBottomNavigation version
guyca Oct 30, 2019
89d4143
Revert "Fix status bar appearance and title view layouting on iOS 13 …
guyca Oct 31, 2019
62106fb
2.28.0
guyca Oct 31, 2019
62c0a5b
[BREAKING] Introduce updateProps command (#5623)
guyca Nov 3, 2019
4b09bef
Fix build on xcode 10.x
yogevbd Nov 5, 2019
9c546f4
Add fallback background color on iOS 13
yogevbd Nov 5, 2019
16f12e8
Dont merge null colors
guyca Nov 6, 2019
2739daa
2.29.0
guyca Nov 6, 2019
f878d04
Fix crash when title component is destroyed right after being attached
guyca Nov 13, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

### Steps to Reproduce / Code Snippets / Screenshots

<!-- Note: When embeding code, please format it and use syntax highlighting to improve readability -->
<!-- ```js -->
<!-- [ THIS CODE BLOCK WILL USE JAVASCRIPT SYNTAX HIGHLIGHTING ] -->
<!-- ``` -->
[FILL THIS OUT]

---
Expand Down
54 changes: 54 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Configuration for probot-stale - https://github.com/probot/stale

# Number of days of inactivity before an Issue or Pull Request becomes stale
daysUntilStale: 30

# Number of days of inactivity before a stale Issue or Pull Request is closed.
# Set to false to disable. If disabled, issues still need to be closed manually, but will remain marked as stale.
daysUntilClose: 7

# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
exemptLabels:
- "type: accepted/enhancement"
- "user: looking for contributors"
- "📌 pinned"

# Set to true to ignore issues in a project (defaults to false)
exemptProjects: false

# Set to true to ignore issues in a milestone (defaults to false)
exemptMilestones: false

# Label to use when marking as stale
staleLabel: "🏚 stale"

# Comment to post when marking as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs.

If you believe the issue is still relevant, please test on the latest Detox and report back.
Thank you for your contributions.
# Comment to post when removing the stale label.
# unmarkComment: >
# Your comment here.

# Comment to post when closing a stale Issue or Pull Request.
closeComment: >
The issue has been closed for inactivity.
# Limit the number of actions per hour, from 1-30. Default is 30
limitPerRun: 30

# Limit to only `issues` or `pulls`
# only: issues

# Optionally, specify configuration settings that are specific to just 'issues' or 'pulls':
pulls:
daysUntilStale: 45
markComment: >
This pull request has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
# issues:
# exemptLabels:
# - confirmed
14 changes: 14 additions & 0 deletions .github/support.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Configuration for support-requests - https://github.com/dessant/support-requests

# Label used to mark issues as support requests
supportLabel: "type: question/stack overflow"
# Comment to post on issues marked as support requests. Add a link
# to a support page, or set to `false` to disable
supportComment: >
We use the issue tracker exclusively for bug reports and feature requests.
This issue appears to be a general usage or support question.
Instead, please ask a question on Stack Overflow with the `react-native-navigation` tag.
# Whether to close issues marked as support requests
close: true
# Whether to lock issues marked as support requests
lock: false
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
dist
.vscode/
package-lock.json
.history/

############
# Node
Expand Down
Binary file added .logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ lib/ios/xcuserdata/
## Other
*.moved-aside
*.xcuserstate
.github/
docs/

## Obj-C/Swift specific
*.hmap
Expand Down
412 changes: 412 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion README.md

This file was deleted.

24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
![npm](https://img.shields.io/npm/dw/react-native-navigation.svg)
[![npm (tag)](https://img.shields.io/npm/v/react-native-navigation/latest.svg)](https://github.com/wix/react-native-navigation/tree/master)
[![npm (tag)](https://img.shields.io/npm/v/react-native-navigation/snapshot.svg)](https://github.com/wix/react-native-navigation/tree/master)
[![Build Status](https://img.shields.io/jenkins/s/http/jenkins-oss.wixpress.com:8080/job/multi-react-native-navigation-master.svg)](https://jenkins-oss.wixpress.com/job/multi-react-native-navigation-master/)
[![Join us on Discord](https://img.shields.io/badge/discord-react--native--navigation-738bd7.svg?style=flat)](https://discord.gg/DhkZjq2)
[![StackExchange](https://img.shields.io/stackexchange/stackoverflow/t/react-native-navigation.svg)](https://stackoverflow.com/questions/tagged/react-native-navigation)

<h1 align="center">
<img src=".logo.png"/><br>
React Native Navigation
</h1>

React Native Navigation provides 100% native platform navigation on both iOS and Android for React Native apps. The JavaScript API is simple and cross-platform - just install it in your app and give your users the native feel they deserve. Ready to get started? Check out the [docs](https://wix.github.io/react-native-navigation/).

# Quick Links
- [Documentation](https://wix.github.io/react-native-navigation/)
- [Stack Overflow](http://stackoverflow.com/questions/tagged/react-native-navigation)
- [Chat with us](https://discord.gg/DhkZjq2)
- [Contributing](/docs/docs/WorkingLocally.md)

# Installation
As `react-native-navigation` is a native navigation library - integrating it into your app will require editing native files. Follow the installation guides in the [documentation](https://wix.github.io/react-native-navigation/).


4 changes: 2 additions & 2 deletions ReactNativeNavigation.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ Pod::Spec.new do |s|

s.module_name = 'ReactNativeNavigation'

s.source = { :git => "https://github.com/wix/react-native-navigation.git", :tag => "v#{s.version}" }
s.source = { :git => "https://github.com/wix/react-native-navigation.git", :tag => "#{s.version}" }
s.source_files = "lib/ios/**/*.{h,m}"
s.exclude_files = "lib/ios/ReactNativeNavigationTests/**/*.*"
s.exclude_files = "lib/ios/ReactNativeNavigationTests/**/*.*", "lib/ios/OCMock/**/*.*"

s.dependency 'React'
s.frameworks = 'UIKit'
Expand Down
12 changes: 12 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = function (api) {
api && api.cache(false);
return {
presets: [
"module:metro-react-native-babel-preset"
],
plugins: [
"@babel/plugin-proposal-export-namespace-from",
"@babel/plugin-proposal-export-default-from"
]
};
}
221 changes: 9 additions & 212 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,216 +1,13 @@
![npm](https://img.shields.io/npm/dw/react-native-navigation.svg)
[![npm (tag)](https://img.shields.io/npm/v/react-native-navigation/alpha.svg)](https://github.com/wix/react-native-navigation/tree/v2#react-native-navigation-v2-wip)
[![Build Status](https://jenkins-oss.wixpress.com/buildStatus/icon?job=react-native-navigation-master)](https://jenkins-oss.wixpress.com/job/react-native-navigation-master/)
[![Join us on Discord](https://img.shields.io/badge/discord-react--native--navigation-738bd7.svg?style=flat)](https://discord.gg/DhkZjq2)
[![StackExchange](https://img.shields.io/stackexchange/stackoverflow/t/react-native-navigation.svg)](https://stackoverflow.com/questions/tagged/react-native-navigation)
<h1 align="center">
<img src="https://raw.githubusercontent.com/wix/react-native-navigation/master/.logo.png"/><br>
React Native Navigation
</h1>

React Native Navigation provides 100% native platform navigation on both iOS and Android for React Native apps. The JavaScript API is simple and cross-platform - just install it in your app and give your users the native feel they deserve. Ready to get started? Check out the [docs](https://wix.github.io/react-native-navigation/).

# React Native Navigation v2 (WIP)
We are rebuilding react-native-navigation.

> As we are in stage alpha, expect breaking API changes or use a specific version (for example "2.0.1234")

- [Why?](#why-rebuild-react-native-navigation)
- [v2 Roadmap](#v2-roadmap)
- [v1 vs v2 feature comparison](#v1-vs-v2-feature-comparison)
- [Documentation](https://wix.github.io/react-native-navigation/v2/)
# Quick Links
- [Documentation](https://wix.github.io/react-native-navigation/)
- [Stack Overflow](http://stackoverflow.com/questions/tagged/react-native-navigation)
- [Chat with us](https://discord.gg/DhkZjq2)
- [Contributing](/docs/WorkingLocally.md)

## Why Rebuild react-native-navigation?

### A New & Improved Core Architecture
react-native-navigation has a few issues which are unsolvable in its current architecture. These issues stem from the same problem: you cannot specify on which screen you wish to make an action. Whenever you want to push a screen, show a modal or any other action, the action defaults to originate from your current screen. In most cases this is fine, but becomes problematic in specific edge cases. For example: <br>
* What if you want to update your navbar icons and the user pops the screen? Your icons might update on the wrong screen.
* What if you want to push a screen as a result of a redux action?

There are ways to solve some of these problems in v1 but they are not straightforward. We want to change that.

#### New API
To solve this problem in v2, every screen receives its `componentId` as a prop. Whenever you want to perform an action from that screen you need to pass the `componentId` to the function:
```js
Navigator.pop(this.props.componentId)
```
Another big architectural change is that now you can compose arbitrary native layout hierarchies, and assign a custom `id` to each and control them individually.

### Built for Contributors
Currently, it requires a lot of work to accept pull requests. We need to manually make sure that everything works before we approve them because v1 is not thoroughly tested. <br>
v2 is written with contributors in mind from day one.

#### Written In TDD
v2 is written in Test Driven Development. We have a test for every feature including features that are not implemented yet. This makes accepting pull requests extremely easy: If our tests pass, your pull request is accepted.

## v2 Roadmap

### Current Priorities

1) buttons in Android
2) showOverlay in iOS
3) showOverlay in Android
4) async commands
5) currentTab
6) change Options to be nested
7) topTabs in both platforms, with API implications

### Top API

| Top API | iOS | Android |
|--------------------|:-----:|:----:|
| setRoot | ✅ | ✅ |
| registerComponent | ✅ | ✅ |
| component | ✅ | ✅ |
| sideMenu | ✅ | ✅ |
| tabs | ✅ | ✅ |
| External Component | ✅ | ✅ |
| splitView | [Contribute](/docs/WorkingLocally.md) | [Contribute](/docs/WorkingLocally.md) |

### Screen API

| Screen API | iOS | Android |
|--------------------|:-----:|:----:|
| push | ✅ | ✅ |
| pop | ✅ | ✅ |
| popToRoot | ✅ |✅ |
| popTo | ✅ |✅ |
| resetTo | ✅ | ✅|
| showModal | ✅ | ✅|
| dismissModal | ✅ | ✅|
| showOverlay | ✅ | ✅ |
| dismissOverlay | ✅ | ✅ |
| customTransition |✅|✅|
| Screen Visibility | ✅ |✅|
| async commands (await push) | ✅ |✅ |

### Navigation Options

| topBar | iOS | Android |
|--------------------|:----:|:-----:|
| title | ✅ | ✅|
| textColor | ✅ | ✅ |
| textFontSize | ✅ | ✅|
| textFontFamily | ✅ | ✅|
| backgroundColor | ✅ | ✅|
| buttonColor | ✅ |✅|
| hidden | ✅ | ✅|
| hideOnScroll | ✅ |✅|
| translucent | ✅ | [Contribute](/docs/WorkingLocally.md) |
| transparent | ✅ | [Contribute](/docs/WorkingLocally.md) |
| noBorder | ✅ | [Contribute](/docs/WorkingLocally.md) |
| drawUnder | ✅ |✅|
| blur | ✅ | [Contribute](/docs/WorkingLocally.md) |
| custom component |✅ |✅|
| background component |✅ |✅|
| subtitleColor | ✅ |✅|
| subtitleFontFamily |✅|✅|
| largeTitle (iOS 11) | ✅ | /iOS Specific |

| tabBar | iOS | Android |
|--------------------|:----:|:-----:|
| drawUnder | ✅ |✅|
| hidden | ✅ | ✅ |
| tabBadge | ✅ |✅|
| currentTab by Index | ✅ | ✅ |
| currentTab by componentId |✅| ✅ |

| buttons | iOS | Android |
|--------------------|:----:|:-----:|
| id | ✅ |✅|
| testID | ✅ |✅|
| color | ✅ |✅|
| icon | ✅ |✅|
| disableTint | ✅ |✅|
| fontSize | ✅ |✅|
| fontWeight | ✅ | /iOS Specific |

| statusBar | iOS | Android |
|--------------------|:----:|:-----:|
| textColorScheme |✅|[Contribute](/docs/WorkingLocally.md) |
| textColorSchemeSingleScreen |✅| / iOS specific |
| blur | ✅ | [Contribute](/docs/WorkingLocally.md) |
| hideWithTopBar | ✅ | [Contribute](/docs/WorkingLocally.md) |
| hidden | ✅ | [Contribute](/docs/WorkingLocally.md) |

| other | iOS | Android |
|--------------------|:----:|:-----:|
| screenBackgroundColor | ✅ | ✅ |
| orientation | ✅ |✅|
| disabledBackGesture | ✅ | / iOS specific |
| screenBackgroundImageName | ✅ | [Contribute](/docs/WorkingLocally.md) |
| rootBackgroundImageName | ✅ | [Contribute](/docs/WorkingLocally.md) |
| sideMenuVisible | ✅ |✅|


## v1 vs v2 Feature Comparison
Here is the full comparison of features between v1 and v2 (will be updated regularly):
### Top Level API

| API | v1 | v2 |
|--------------------|-----|----|
| startTabBasedApp | ✅ | ✅ |
| startSinglePageApp | ✅ | ✅ |
| registerScreen | ✅ | ✅ |
| drawer | ✅ | ✅ |
### Screen API

|  API              | v1 | v2 iOS | v2 Android |
|---------------------|:--------:|:------------:|:--------------:|
| push | ✅ | ✅ | ✅ |
| pop | ✅ | ✅ | ✅ |
| showModal | ✅ | ✅ | ✅|
| popToRoot | ✅ | ✅ |✅ |
| resetTo | ✅ | ✅ | ✅|
| dismissModal | ✅ | ✅ | ✅|
| dismissAllModals | ✅ | ✅ | ✅|
| showContextualMenu | ✅ | / Android specific |[Contribute](/docs/WorkingLocally.md) |
| dismissContextualMenu | ✅ | / Androic specific |[Contribute](/docs/WorkingLocally.md) |
| showFab | ✅ | / Android specific |✅|
| dismissFab | ✅ | / Android specific |✅|
| showSnackBar | ✅ | / Android specific | [Contribute](/docs/WorkingLocally.md) |
| dismissSnackBar | ✅ | / Android specific | [Contribute](/docs/WorkingLocally.md) |
| showLightBox | ✅ |:x: |:x: |
| dismissLightBox | ✅ |:x:|:x: |
| showOverlay|:x:|✅|✅|
| dismissOverlay|:x:|✅|✅|
| handleDeepLink | ✅ | [Contribute](/docs/WorkingLocally.md) | [Contribute](/docs/WorkingLocally.md) |
| Screen Visibility | ✅ | ✅ |✅|

### Styles

Note: v1 properties with names beginning with 'navBar' are replaced in v2 with properties beginning with 'topBar' to avoid confusion with the Android native bottom nav bar.

| | v1 | v2 iOS | v2 Android |
|-----------------------|:--------:|:------------:|:----------|
| topBarTextColor | ✅ | ✅ | ✅ | Wix|
| topBarTextFontSize | ✅ | ✅ | ✅ | Wix|
| topBarTextFontFamily | ✅ | ✅ | ✅ | Wix |
| topBarBackgroundColor | ✅ | ✅ | ✅ | Wix|
| topBarButtonColor | ✅ | ✅ |✅| Wix|
| topBarHidden | ✅ | ✅ | ✅ | Wix|
| topBarHideOnScroll | ✅ | ✅ |✅| Wix|
| topBarTranslucent | ✅ | ✅ | [Contribute](/docs/WorkingLocally.md) | Wix|
| topBarTransparent | ✅ |✅| [Contribute](/docs/WorkingLocally.md) |
| topBarNoBorder | ✅ | ✅ | [Contribute](/docs/WorkingLocally.md) | @gtchance|
| drawUnderTabBar | ✅ | ✅ |✅| |
| drawUnderTopBar | ✅ | ✅ |✅||
| statusBarBlur | ✅ | ✅ | [Contribute](/docs/WorkingLocally.md) | @gtchance|
| topBarBlur | ✅ | ✅ | [Contribute](/docs/WorkingLocally.md) | @gtchance|
| tabBarHidden | ✅ | ✅ |✅| @gtchance|
| statusBarTextColorScheme | ✅ |✅| / iOS specific |
| statusBarTextColorSchemeSingleScreen| ✅ |✅| / iOS specific |
| topBarSubtitleColor | ✅ |✅| [Contribute](/docs/WorkingLocally.md) |
| topBarSubtitleFontFamily | ✅ |✅| [Contribute](/docs/WorkingLocally.md) |
| screenBackgroundColor | ✅ | ✅ | [Contribute](/docs/WorkingLocally.md) | Wix|
| orientation | ✅ | ✅ |✅| Wix|
| statusBarHideWithTopBar | ✅ | ✅ | [Contribute](/docs/WorkingLocally.md) | @gtchance|
| statusBarHidden | ✅ | ✅ | [Contribute](/docs/WorkingLocally.md) | WIX |
| disabledBackGesture | ✅ | ✅ | / iOS specific |
| screenBackgroundImageName | ✅ | ✅ | [Contribute](/docs/WorkingLocally.md) |
| rootBackgroundImageName | ✅ | ✅ | [Contribute](/docs/WorkingLocally.md) |
| setButtons | ✅ | ✅ |✅| @Johan-dutoit|
| title | ✅ |✅| ✅| Wix|
| toggleDrawer | ✅ | ✅ |✅|
| setTabBadge | ✅ | ✅ |✅| Wix|
| switchToTab | ✅ | ✅ |✅|
| topBar react component | ✅ |✅|✅|
|Shared Element Transition| :x: |✅| [Contribute](/docs/WorkingLocally.md)|
| splitViewScreen | :x: | [Contribute](/docs/WorkingLocally.md) | [Contribute](/docs/WorkingLocally.md)|

Loading