react-native-photo-editor icon indicating copy to clipboard operation
react-native-photo-editor copied to clipboard

iOS stickers crashing the app

Open JChudasama opened this issue 5 years ago • 7 comments

Hello team,

I'm trying following code as per documentations and references

RNPhotoEditor.Edit({
        path:imagePath,
        hiddenControls: ['clear', 'crop', 'draw', 'text'],
        onDone: () => {
          this.handleBackButtonClick()
        },
        onCancel: () => {
          console.log('on cancel');
        },
        stickers: [
        'mta_sticker1',
        'mta_sticker2',
        'mta_sticker3',
       ],
      });  
  • imagePath is received after taking photo from camera and working fine
  • stickers also added into ios->Resources' directory.
  • if I comment stickers then it works, but if i provide stickers then it crashes.

Please help on earliest in this.

JChudasama avatar Dec 24 '19 09:12 JChudasama

Hello Team, I have facing same issue. we create Resource Folder Under IOS Folder and added sticker there and write this code stickers: [ 'emoji2', 'emoji2', 'emoji3', ], but it will crash the app. please help me as soon as possible

arjundalal avatar Jan 10 '20 06:01 arjundalal

Please make sure that Resources folder is configured to xcode build settings.

prscX avatar Jan 10 '20 15:01 prscX

Can you please tell me process how we link resource folder to build setting

On Fri, 10 Jan 2020, 8:53 pm Pranav Raj Singh Chauhan, < [email protected]> wrote:

Please make sure that Resources folder is configured to xcode build settings.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/prscX/react-native-photo-editor/issues/101?email_source=notifications&email_token=AM57WLFRGNPZCEC6RC46KETQ5CHHNA5CNFSM4J64MPYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIUHYEA#issuecomment-573078544, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM57WLB3RRLLBGQGPFL2DSDQ5CHHNANCNFSM4J64MPYA .

arjundalal avatar Jan 11 '20 03:01 arjundalal

Hello Team, I am new to IOS can you please tell me the step where we create Resource folder and how we configured with build setting

arjundalal avatar Jan 22 '20 12:01 arjundalal

Hello Team, I am new to IOS can you please tell me the step where we create Resource folder and how we configured with build setting please help me my project is stop.

arjundalal avatar Jan 23 '20 05:01 arjundalal

Hello Pranav, Please Help Me to resolve this issue.

arjundalal avatar Jan 23 '20 11:01 arjundalal

please check solution in https://github.com/prscX/react-native-photo-editor/issues/109#issuecomment-582643497

hamzaouhssain1993 avatar Jul 14 '20 14:07 hamzaouhssain1993