SfCardView on iOS will crash when Release

Hi, im using SfCardView(v18.2.0.47) in my XamarinForm(v4.7.0.117) project.  

When on Debug mode and deploying to my iPhone, SfCardView work fine. But when im publish it to TestFlight, my app will crash if current page had SfCardView in there.

there. So im remove SfCardView out from XAML and publish again then my app turn to normal.

I hope you guy have enough information to see what happended which it.

7 Replies

HM Hemalatha Marikumar Syncfusion Team July 30, 2020 07:10 AM UTC

Hi Kien.Phat, 
 
Greetings from Syncfusion.  
 
We would like to let you know that we have ensured that release mode app with publishing made a crash with our Sample browser sample which is worked fine at our end. Could you please share the complete stack trace/ error log to find whether it has been related with control or framework level and shared the used custom view in it?  This will be more helpful to validate the issue at our end.  
 
Regard,
Hemalatha M. 
 



KI Kien.Phat July 30, 2020 08:50 AM UTC

Im sorry that im testing my app over TestFlight and im not using any third-party crash analysis so i dont have stack trace or error log.

This is my SfcardView Xaml code and im using PancakeView version 2.0.1.698

  <cards:SfCardView CornerRadius="16" BorderColor="Transparent" BackgroundColor="White" Margin="0,25">
                            <cards:SfCardView.Content>
                                <StackLayout Padding="20">
                                    <Label Text="Latest Order" FontSize="17" TextColor="#1B4590" VerticalOptions="Center"/>

                                    <pancakeview:PancakeView BorderColor="#DFDDDD" HeightRequest="0.7" BorderThickness="0.7" HorizontalOptions="FillAndExpand" Margin="0"/>

                                    <Grid VerticalOptions="FillAndExpand" ColumnSpacing="12" Margin="0,15">
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="50"/>
                                            <ColumnDefinition Width="*"/>
                                            <ColumnDefinition Width="45"/>
                                        </Grid.ColumnDefinitions>
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="60"/>
                                        </Grid.RowDefinitions>
                                        
                                        <Image Source="user.png" Aspect="AspectFill"/>
                                        
                                        <Label Grid.Column="1" FontSize="16" VerticalOptions="Center">
                                            <Label.FormattedText>
                                                <FormattedString>
                                                    <Span Text="User Name" TextColor="Black"/>
                                                    <Span Text="&#10;"/>
                                                    <Span Text="BirthDate"/>
                                                    <Span Text="  |  "/>
                                                    <Span Text="BT235D6"/>
                                                </FormattedString>
                                            </Label.FormattedText>
                                        </Label>

                                        <Image Grid.Column="2" Source="nextbutton.png" Aspect="AspectFit" VerticalOptions="Center">
                                            <Image.GestureRecognizers>
                                                <TapGestureRecognizer Command="{Binding LastOrderTapCommand}"/>
                                            </Image.GestureRecognizers>
                                        </Image>
                                    </Grid>
                                </StackLayout>
                            </cards:SfCardView.Content>
                        </cards:SfCardView>


YP Yuvaraj Palanisamy Syncfusion Team July 31, 2020 05:38 PM UTC

Hi Leonardo, 
 
Currently we are validating your query and we will update the status on or before 3rd August 2020. 
 
Regards, 
Yuvaraj 



YP Yuvaraj Palanisamy Syncfusion Team August 4, 2020 01:56 PM UTC

Hi Leonardo, 
 
We have suspected that you have used the custom view as pancakeview. could you please remove those and include only the label and ensure us whether the same issue occured or not?  
 
And also, we have published our SampleBrowser application in TestFlight and it was working fine. Please refer the following TestFlight link. 
 
 
Regards, 
Yuvaraj 



KI Kien.Phat August 12, 2020 04:52 AM UTC

Hi, my apologies for the late reply. I have tried to removed PancakeView out of SfCardView and replace it with SfBorder instead. But when release on TestFlight the problem still be there. It still crashing. I think i will release another version without SfBorder in SfCardView and response the result for you guy later.


KI Kien.Phat August 12, 2020 08:46 AM UTC

Yeah i have pubilshed another version and in SfCardView im include only Label but still crashing.



RS Ramya Soundar Rajan Syncfusion Team August 12, 2020 09:42 AM UTC

Hi Kien.Phat, 
  
Thanks for your update.  
  
I hope you can understand this critical like without knowing the detailed of exception and replication steps, proceeding this makes more complex at our end. If possible, please share the tested sample or else crash report. 
 
 
Regards, 
Ramya S 


Loader.
Up arrow icon