Code Monkey home page Code Monkey logo

Comments (14)

samuelbeek avatar samuelbeek commented on May 28, 2024 2

Allright, did some research and found out that I had to add the EmojisList.plist to the Copy Bundle Resources Build Phase. I think you'd be able to add that in your podspec.

from agemojikeyboard.

ayushgoel avatar ayushgoel commented on May 28, 2024 1

Hello,
Found the issue! I had fixed the NSBundle used to find the EmojisList.plist (2e2cb2c), but hadn't released a new version for it. Have uploaded a new version 0.2.1 which should fix this.
Thank you all for reporting this! ❤️

from agemojikeyboard.

ayushgoel avatar ayushgoel commented on May 28, 2024

Did you forget to set dataSource for your keyboard?

 emojiKeyboard.dataSource = self;

from agemojikeyboard.

samuelbeek avatar samuelbeek commented on May 28, 2024

I already had it in my init function.
AGEmojiKeyboardView(frame: CGRectMake(0, 0, self.view.frame.size.width, 216), dataSource: self) I added it separately like you suggested, but unfortunately that didn't help.

Is there anything else that can be wrong?

from agemojikeyboard.

ayushgoel avatar ayushgoel commented on May 28, 2024

Added the label @samuelbeek . Would pick it up whenever I find time. Thank you 👍

from agemojikeyboard.

ayushgoel avatar ayushgoel commented on May 28, 2024

@samuelbeek Sorry for missing it, but I noticed that the plist is added as a Resource already in the podspec.
Could you please check and let me know if you were using the correct version of the pod.

screen shot 2016-05-06 at 10 12 30 pm

from agemojikeyboard.

alnesic1987 avatar alnesic1987 commented on May 28, 2024

I had similar problem. Just add EmojisList.plist in main target.

from agemojikeyboard.

ayushgoel avatar ayushgoel commented on May 28, 2024

@alnesic1987 Are you using cocoapods for integration or doing it manually?

from agemojikeyboard.

alnesic1987 avatar alnesic1987 commented on May 28, 2024

Using Cocoapods:
pod 'AGEmojiKeyboard'

from agemojikeyboard.

danhhgl avatar danhhgl commented on May 28, 2024

@ayushgoel Thank you for a great library! But can you add this instruction into the README page? I took a lot of time for this issue. Thank you once more time!

from agemojikeyboard.

ayushgoel avatar ayushgoel commented on May 28, 2024

@alnesic1987 @danhhgl
Sorry for the late reply. 🙇🏻
When I use pod 'AGEmojiKeyboard', my EmojisList.plist is added to the pod target automatically. Could you please share a sample project or gist so that I can reproduce this at my end?

from agemojikeyboard.

danhhgl avatar danhhgl commented on May 28, 2024

@ayushgoel I used Cocoapods to get AGEmojiKeboard dependency and opened the workspace in Xcode 7. Then I implemented it and ran the project, but there was no emoji in the keyboard view. So I put EmojisList.plist in my project and it worked correctly. I hope you fix this issue soon.

from agemojikeyboard.

ayushgoel avatar ayushgoel commented on May 28, 2024

Hi @danhhgl ,

Can you clone the repository and try this on the Example project provided?

One thing to notice is that the Recents tab is selected by default (which is empty for a new keyboard). Please try and choose a different category and let me know if the emojis still not appear for you.

from agemojikeyboard.

danhhgl avatar danhhgl commented on May 28, 2024

Yes, your example works correctly. But in my own project, it doesn't work if I don't copy EmojisList.plist to the project. I use Swift instead of Objective-C.

from agemojikeyboard.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.