function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Guduli Das MohapatraGuduli Das Mohapatra 

Lightning component is not working in IOS

I have created one Lightning aura component in Sales cloud which is workinf fine desktop browser, and on the Salesforce App on Android device,but not working in IOS .

 var pageReference = {
                    type: 'standard__component',
                    attributes: {
                           componentName: 'c__EditInLineTableOpportunityLighting'
                    },
                    state: {
                        
                        c__refRecordId: component.get("v.recordId")
                    }
                };
                component.set("v.pageReference", pageReference);
                const navService = component.find('navService');
                const pageRef = component.get('v.pageReference');
                const handleUrl = (url) => {
                    window.open(url);
                };
                    const handleError = (error) => {
                    console.log(error);
                };
                    navService.generateUrl(pageRef).then(handleUrl, handleError);
                    $A.get("e.force:closeQuickAction").fire();  
PriyaPriya (Salesforce Developers) 
Hi Guduli,

Check below example that matches your requirement :- 
https://salesforce.stackexchange.com/questions/54511/why-doesnt-my-lightning-component-work-in-ios

https://developer.salesforce.com/forums/?id=9062I000000Xwz1QAC

Please mark it as the Best Answer so that it can help others in the future.
Regards,
Priya Ranjan
 
elen maoel 2elen maoel 2
I want to integrate the same scirpt with my social porter (https://socialporters.com/) prject. Can you help me regardin this?
Michal Gronowski 4Michal Gronowski 4
Hey,

Did you solve the issue? It seems to be related to the state...

Thanks
Dogs FreedomDogs Freedom
I need post redirect code for my wordpress blog (https://dogsfreedom.com/) can you pls guide me ?