Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to load FontIcon in Widget Extension #3

Open
MehulSojitra16 opened this issue Mar 31, 2021 · 2 comments
Open

Not able to load FontIcon in Widget Extension #3

MehulSojitra16 opened this issue Mar 31, 2021 · 2 comments

Comments

@MehulSojitra16
Copy link

MehulSojitra16 commented Mar 31, 2021

I am getting an error "archiving error" when try to use in Widget Extension. However it is working fine in iOS app.

Here is my code:

var body: some View {
        VStack(alignment: .leading) {
            
            HStack{
                Text("ionicons:").frame(width: 150, alignment: .trailing)
                FontIcon.text(.ionicon(code: .md_people), color: .white)
                    .background(Color.blue)
                Spacer()
            }.frame(height: 80)
           
        }
    }
@huybuidac
Copy link
Owner

@MehulSojitra16 sorry for late, can you give me a demo project?. I'm not familiar with iOS App.

@xeieshan
Copy link

@huybuidac any update on this?

I am facing same issue. I have a ReactNative Project which uses native Extension (WidgetKit) and I want to use FontAwesome in Widget.

cc @MehulSojitra16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants