OK, so thanks to DomManfred for creating this new library for us.
I have the demo version working on my Fire devices nicely. But when I put the code into my main project I am getting an issue.
It fails on adm.checkManifestAuthoredProperly
Message says "Must have an API Key"
Yet I have created my new API key and put this in the File folder and attached to the project.
Do I need to change the sample project manifest entries ?
Such as app_name and server_address ?
Do I need the server_address at all ? as I don't wish to record the tokens on my server currently....
Thanks
I have the demo version working on my Fire devices nicely. But when I put the code into my main project I am getting an issue.
It fails on adm.checkManifestAuthoredProperly
Message says "Must have an API Key"
Yet I have created my new API key and put this in the File folder and attached to the project.
Do I need to change the sample project manifest entries ?
B4X:
CreateResourceFromFile(Macro, ADM.ADM)
CreateResource(values, strings.xml,
<resources>
<string name="app_name">ADMMessenger</string>
<string name="menu_settings">Settings</string>
<string name="title_activity_main">MainActivity</string>
<string name="json_data_msg_key">message</string>
<string name="json_data_time_key">timeStamp</string>
<string name="json_data_consolidation_key">collapse_key</string>
<string name="intent_msg_action">com.amazon.sample.admmessenger.ON_MESSAGE</string>
<string name="intent_msg_category">com.amazon.sample.admmessenger.MSG_CATEGORY</string>
<string name="server_address">http://webhook.basic4android.de/</string>
<string name="server_port">80</string>
</resources>
)
Such as app_name and server_address ?
Do I need the server_address at all ? as I don't wish to record the tokens on my server currently....
Thanks