From 6763d419e2e4cbc0da2c3270a3fd9d07111a16e0 Mon Sep 17 00:00:00 2001 From: adrian gomez Date: Mon, 26 Dec 2022 14:21:39 -0500 Subject: [PATCH] In testing: iOS Support --- README.md | 17 ++++++++-- plugins/2021.3660/iphone/libplugin_bugsnag.a | Bin 0 -> 15336 bytes plugins/2021.3660/iphone/metadata.lua | 20 +++++++++++ plugins/2021.3660/iphone/plugin_bugsnag.lua | 33 ------------------- 4 files changed, 34 insertions(+), 36 deletions(-) create mode 100644 plugins/2021.3660/iphone/libplugin_bugsnag.a create mode 100644 plugins/2021.3660/iphone/metadata.lua delete mode 100644 plugins/2021.3660/iphone/plugin_bugsnag.lua diff --git a/README.md b/README.md index fa8bd1c..6f41b04 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,16 @@ # com.cabagomez-plugin.bugsnag +NOTE: The iOS version is currently in testing. I will remove this note once I have completed my testing. 1. Add the plugin to your project: ``` ["plugin.bugsnag"] = { - publisherId = "com.cabagomez", - supportedPlatforms = { ["android"] = true } + publisherId = "com.cabagomez" } ``` 2. Add your bugsnag key to the build settings: +For Android: ``` applicationChildElements = { @@ -20,7 +21,17 @@ applicationChildElements = -- Other stuff you might already have. } -``` +``` +For iOS and to your plist: +``` + plist = + { + bugsnag = + { + { apiKey = { "xxxxxxxxxxYourKeyxxxxxxxxxx" } } + }, + } +``` 3. Init plugin. ``` local bugsnag = require( "plugin.bugsnag") diff --git a/plugins/2021.3660/iphone/libplugin_bugsnag.a b/plugins/2021.3660/iphone/libplugin_bugsnag.a new file mode 100644 index 0000000000000000000000000000000000000000..9e1e5301ddbabafbb9531bdd684d5a08efae8ec6 GIT binary patch literal 15336 zcmcgz4R}=5nLam@J4_~Ik`RP|3IhZP2s23t$X_5K36MBInnXpr_A;5=BqQ?^XD0k8 zD-meL7K^m_vsGJcyDn(AkAG_wtHrikZEJU}k89nh`WRhmj-=-i3>8iA`?9 z@U>mDuAyERE`-W(xjDA=yxb_Ktx;13miOTmv7oT*v*8x-t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