question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

rkCalendar cause application to crash at start

See original GitHub issue

Issue type

I’m submitting a … (check one with “x”)

  • [X ] bug report
  • feature request

Issue description

Current behavior:

Some components in node_modules, like RkCalendarDay, cause application to crash at start. Even if the components aren’t used in the application.

Dependency: react-native-ui-kitten": "github:akveo/react-native-ui-kitten

Expected behavior:

Application will be launched after expo start.

Steps to reproduce:

Delete node_modules, run npm install, start application with `expo start´ and try to run the application on your device.

Related code:

 base: View.propTypes.style,
 today: View.propTypes.style,
 selected: View.propTypes.style,
Bildschirmfoto 2019-04-16 um 18 14 47

Other information:

OS, device, package version

iOS, Simulator and physical device

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:17

github_iconTop GitHub Comments

6reactions
JaWoGitcommented, Apr 17, 2019

Hi @artyorsh Thanks @dhwanilvyas, in my case, there are more components affected. I changed the proptypes in the following components and my application works as expected again:

rkCalendarDay.component.js line 52-56 rkCalendarWeek.component.js line 35 rkCalendarMonth.component.js line 40 rkCalendarDaysNames.component.js line 18 rkCalendarMonthHeader.component.js line 19 rkCalendarView.component.js line 71 rkTab.components.js line 37-38 rkTabBar.component.js line 33-34 rkTabBarIndicator.component.js line 25-26 rkTabPager.component.js line 30

4reactions
dhwanilvyascommented, Apr 17, 2019

Hello!

This line here seems to be causing the issue I guess. Changing View.propTypes.style to PropTypes.style fixes the issue for me.

This issue is in tabset component as well.

I’m can send in a PR if this fixes the issue 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

RadDate Picker causes app to crash in UI for Silverlight - Telerik
I am trying to specify a range of accepted values for the date picker calendar. However, I cannot guarantee the SelectedDate property will ......
Read more >
Recurrence Crashing when changing start time
Changing the end time does not seem to cause Outlook to crash, and opening the meeting by double clicking it on the calendar...
Read more >
Windows Mail and Calendar app freezes, crashes or not working
If you find that your Mail and Calendar app is not working, is crashing or freezing on Windows 10, then this tutorial may...
Read more >
Strange iOS Crash Only on iOS 13.X… - Apple Developer
The app is in production/testfilght and I have seen this crash in Xcode Organizer. ... main + 152 (main.m:16) 8 libdyld.dylib 0x00000001944e4360 start...
Read more >
Gnome-calendar crashes at startup - Ask Fedora
... crashes multiple time at start-up and every time I expand the app list. ... Also is there a reason why I can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found