Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Binding library using Sharpie tool

$
0
0

Hi,

My .h file has code like below:

enum TagFilterType {
ARTICLE = 1,
CATEGORY = 2
};

define FRESHCHAT_DID_FINISH_PLAYING_AUDIO_MESSAGE @com.freshworks.freshchat_play_inapp_audio

define FRESHCHAT_WILL_PLAY_AUDIO_MESSAGE @com.freshworks.freshchat_pause_inapp_audio

define FRESHCHAT_USER_RESTORE_ID_GENERATED @com.freshworks.freshchat_user_restore_id_generated

define FRESHCHAT_USER_LOCALE_CHANGED @com.freshworks.freshchat_user_locale_changed

define FRESHCHAT_UNREAD_MESSAGE_COUNT_CHANGED @com.freshworks.freshchat_unread_message_count_changed

On using sharpie tool, I am able to create apidefinition.cs and Structs.cs. Bur in the files, I don't see the #define strings and hence I am unable to use in the iOS project. Can you please help me in adding those in my definition files ? Actually, those are the notification names which I need to call from the iOS project. I have attached .h and .a file here


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>