Skip to content

Commit

Permalink
In testing: iOS Support
Browse files Browse the repository at this point in the history
  • Loading branch information
agramonte committed Dec 26, 2022
1 parent ef05993 commit 6763d41
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 36 deletions.
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -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 =
{
Expand All @@ -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")
Expand Down
Binary file added plugins/2021.3660/iphone/libplugin_bugsnag.a
Binary file not shown.
20 changes: 20 additions & 0 deletions plugins/2021.3660/iphone/metadata.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
local metadata =
{
plugin =
{
format = 'staticLibrary',
staticLibs = {
'plugin_bugsnag',
"c++",
"z"
},
frameworks = {

},
usesSwift = true
},
}



return metadata
33 changes: 0 additions & 33 deletions plugins/2021.3660/iphone/plugin_bugsnag.lua

This file was deleted.

0 comments on commit 6763d41

Please sign in to comment.