# CoronaCards (Corona in native apps)

**URL:** https://forums.solar2d.com/c/coronacards-corona-in-native-apps/14.md?page=1

[Latest](https://forums.solar2d.com/latest.md) · [Categories](https://forums.solar2d.com/categories.md)

**Page:** 2

---

## [Communication from LUA to iOS (ObjC or Swift) - Array Format](https://forums.solar2d.com/t/communication-from-lua-to-ios-objc-or-swift-array-format/346737)

<div class="topic-metadata">

**Author:** [@remyb](https://forums.solar2d.com/u/remyb)\
**Replies:** 4\
**Last updated:** [February 20, 2018, 11:47pm UTC](https://forums.solar2d.com/t/communication-from-lua-to-ios-objc-or-swift-array-format/346737 "2018-02-20T23:47:55Z")

</div>

Hello, I have a question regarding the method communication from Lua to Swift. I know that Lua has a special way to handle arrays & associative arrays as the same kind of objects. Here is the situation: Let’s say I…

---

## [Detect if the app is running in CoronaCards or "regular" Corona](https://forums.solar2d.com/t/detect-if-the-app-is-running-in-coronacards-or-regular-corona/346724)

<div class="topic-metadata">

**Author:** [@remyb](https://forums.solar2d.com/u/remyb)\
**Replies:** 4\
**Last updated:** [February 17, 2018, 8:01pm UTC](https://forums.solar2d.com/t/detect-if-the-app-is-running-in-coronacards-or-regular-corona/346724 "2018-02-17T20:01:12Z")

</div>

Hello, We are developing a game that will be executed on Corona Cards, with a bunch of interactions with the native app (thanks to the Events). However, it’s really easier to develop without Corona Cards, with the Coro…

---

## [CoronaCards future](https://forums.solar2d.com/t/coronacards-future/345980)

<div class="topic-metadata">

**Author:** [@rob](https://forums.solar2d.com/u/rob)\
**Replies:** 8\
**Last updated:** [January 20, 2018, 10:26pm UTC](https://forums.solar2d.com/t/coronacards-future/345980 "2018-01-20T22:26:50Z")

</div>

We are trying to chart the best course forwards for CoronaCards. We really need to hear from CoronaCards customers. If you are not a CoronaCards subscriber, please leave the replies to subscribers. How are you using Co…

---

## [develop using Unity via Corona card.](https://forums.solar2d.com/t/develop-using-unity-via-corona-card/346298)

<div class="topic-metadata">

**Author:** [@freep\_corona001](https://forums.solar2d.com/u/freep_corona001)\
**Replies:** 4\
**Last updated:** [December 24, 2017, 10:39pm UTC](https://forums.solar2d.com/t/develop-using-unity-via-corona-card/346298 "2017-12-24T22:39:32Z")

</div>

I would like to develop using Unity via Corona card.(iOS&Android) Which document should I read?

---

## [MainActivity.java. Looks like](https://forums.solar2d.com/t/mainactivity-java-looks-like/346224)

<div class="topic-metadata">

**Author:** [@urjk125](https://forums.solar2d.com/u/urjk125)\
**Replies:** 2\
**Last updated:** [December 13, 2017, 3:52pm UTC](https://forums.solar2d.com/t/mainactivity-java-looks-like/346224 "2017-12-13T15:52:43Z")

</div>

MainActivity.java. 모양

---

## [coronaCards integrating in existing iOS app](https://forums.solar2d.com/t/coronacards-integrating-in-existing-ios-app/346187)

<div class="topic-metadata">

**Author:** [@rameshmanageni](https://forums.solar2d.com/u/rameshmanageni)\
**Replies:** 2\
**Last updated:** [December 7, 2017, 10:02pm UTC](https://forums.solar2d.com/t/coronacards-integrating-in-existing-ios-app/346187 "2017-12-07T22:02:18Z")

</div>

I am integrating CoronaCards in existing iOS application, this application already have -ObjC in ‘Other linker flag’ it gives: Apple Mach-O Linker Error ld: 2 duplicate symbols for architecture x86\_64 clang: error: l…

---

## [Problem with composer.gotoScene](https://forums.solar2d.com/t/problem-with-composer-gotoscene/345385)

<div class="topic-metadata">

**Author:** [@mike942](https://forums.solar2d.com/u/mike942)\
**Replies:** 18\
**Last updated:** [September 22, 2017, 5:29pm UTC](https://forums.solar2d.com/t/problem-with-composer-gotoscene/345385 "2017-09-22T17:29:24Z")

</div>

I’m building an app using CoronaCards that has 3 scenes and I have no problem transitioning between the scenes when I test it in the Corona Simulator, but when I build the app and run it on a mobile device, the scene:cre…

---

## [Sample App Crashes on iPhone 8](https://forums.solar2d.com/t/sample-app-crashes-on-iphone-8/345345)

<div class="topic-metadata">

**Author:** [@mike942](https://forums.solar2d.com/u/mike942)\
**Replies:** 20\
**Last updated:** [September 19, 2017, 9:39pm UTC](https://forums.solar2d.com/t/sample-app-crashes-on-iphone-8/345345 "2017-09-19T21:39:41Z")

</div>

Hi, I’m new to Corona and Corona Cards, but really like using them so far. I’m trying to build and deploy one of the CoronaCards sample apps to an iPhone 8 running iOS 11.0 (15A5278f) using Xcode 9.0 (9A235) and Corona…

---

## [network.request() cannon be called.](https://forums.solar2d.com/t/network-request-cannon-be-called/345115)

<div class="topic-metadata">

**Author:** [@kahokaho111](https://forums.solar2d.com/u/kahokaho111)\
**Replies:** 28\
**Last updated:** [August 25, 2017, 5:48pm UTC](https://forums.solar2d.com/t/network-request-cannon-be-called/345115 "2017-08-25T17:48:49Z")

</div>

I copy AsynchHTTP file in SimplyCode into our iOS app. Launched the app on iPhone by Xcode. The function of network.request() can be called. download the app on iPhone by TestFlight. The function of network.r…

---

## [iOS Opening iOS Sample apps](https://forums.solar2d.com/t/ios-opening-ios-sample-apps/343939)

<div class="topic-metadata">

**Author:** [@Mars\_Interactive](https://forums.solar2d.com/u/Mars_Interactive)\
**Replies:** 2\
**Last updated:** [August 9, 2017, 4:00pm UTC](https://forums.solar2d.com/t/ios-opening-ios-sample-apps/343939 "2017-08-09T16:00:00Z")

</div>

Hi, I’m new to iOS, Xcode and CoronaCards, but not to Corona SDK. We are working on a project to add CoronaCards to a Native app (both Android and iOS). I was able to setup CoronaCards to Android but cannot figure out…

---

## [Wrong object size when orientation change](https://forums.solar2d.com/t/wrong-object-size-when-orientation-change/344750)

<div class="topic-metadata">

**Author:** [@kahokaho111](https://forums.solar2d.com/u/kahokaho111)\
**Replies:** 0\
**Last updated:** [July 14, 2017, 4:12am UTC](https://forums.solar2d.com/t/wrong-object-size-when-orientation-change/344750 "2017-07-14T04:12:46Z")

</div>

Wrong object size when orientation change

---

## [Swift CoronaCards func receiveEvent event not work](https://forums.solar2d.com/t/swift-coronacards-func-receiveevent-event-not-work/344546)

<div class="topic-metadata">

**Author:** [@arthur15](https://forums.solar2d.com/u/arthur15)\
**Replies:** 2\
**Last updated:** [June 28, 2017, 4:53pm UTC](https://forums.solar2d.com/t/swift-coronacards-func-receiveevent-event-not-work/344546 "2017-06-28T16:53:02Z")

</div>

HI lua Corona Can not trigger event to Swift Xcode 8.2.1 Swift Code import UIKit class ViewController: UIViewController , CoronaViewDelegate{ override func viewDidLoad() { super.viewDidLoad(…

---

## [attempt to index global 'network' (a nil value)](https://forums.solar2d.com/t/attempt-to-index-global-network-a-nil-value/344422)

<div class="topic-metadata">

**Author:** [@Mars\_Interactive](https://forums.solar2d.com/u/Mars_Interactive)\
**Replies:** 16\
**Last updated:** [June 21, 2017, 3:25pm UTC](https://forums.solar2d.com/t/attempt-to-index-global-network-a-nil-value/344422 "2017-06-21T15:25:15Z")

</div>

Hello, We’re using CoronaCards on iOS. As you can see from the title We’re getting this error: attempt to index global ‘network’ (a nil value) I tried moving the “network.download()” call to be the very first line in …

---

## [Compile CoronaCards inside IOS Framework](https://forums.solar2d.com/t/compile-coronacards-inside-ios-framework/344217)

<div class="topic-metadata">

**Author:** [@maor\_shams](https://forums.solar2d.com/u/maor_shams)\
**Replies:** 2\
**Last updated:** [May 23, 2017, 5:31pm UTC](https://forums.solar2d.com/t/compile-coronacards-inside-ios-framework/344217 "2017-05-23T17:31:53Z")

</div>

Hi, I am trying to compile CoronaCards framework inside new framework that i’m creating, followed the setup docs for IOS. but the project cannot find it . Use of undeclared type CoronaViewController There are ot…

---

## [Corona Card in Native Framwork](https://forums.solar2d.com/t/corona-card-in-native-framwork/344221)

<div class="topic-metadata">

**Author:** [@Mars\_Interactive](https://forums.solar2d.com/u/Mars_Interactive)\
**Replies:** 6\
**Last updated:** [May 23, 2017, 5:05pm UTC](https://forums.solar2d.com/t/corona-card-in-native-framwork/344221 "2017-05-23T17:05:05Z")

</div>

Hi, Can I build an iOS native framework with my Corona Card framework nested in it? IF “Yes”: How can I achieve it? IF “No”: Is there a way to create a dependency with a Corona framework on the native project using t…

---

## [Webview on CoronaCards iOS](https://forums.solar2d.com/t/webview-on-coronacards-ios/343944)

<div class="topic-metadata">

**Author:** [@Mars\_Interactive](https://forums.solar2d.com/u/Mars_Interactive)\
**Replies:** 10\
**Last updated:** [May 23, 2017, 1:01pm UTC](https://forums.solar2d.com/t/webview-on-coronacards-ios/343944 "2017-05-23T13:01:18Z")

</div>

Hello, New to Native iOS and CoronaCards. I tried migrating my Corona SDK project to my iOS Project. But the webview object is refusing to be created. after calling “webview = native.newWebView( \_CX, 376.5\*2, 332\*2, 5…

---

## [Negative seek offset](https://forums.solar2d.com/t/negative-seek-offset/344002)

<div class="topic-metadata">

**Author:** [@juniorpiresupe](https://forums.solar2d.com/u/juniorpiresupe)\
**Replies:** 0\
**Last updated:** [May 1, 2017, 4:11pm UTC](https://forums.solar2d.com/t/negative-seek-offset/344002 "2017-05-01T16:11:36Z")

</div>

When I try build APK I get the follow message: \[Build Error #12\] Failed to build APK Negative seek offset More information may be available in the Simulator console

---

## [Corona Cards Android Integration](https://forums.solar2d.com/t/corona-cards-android-integration/343318)

<div class="topic-metadata">

**Author:** [@abhilash4](https://forums.solar2d.com/u/abhilash4)\
**Replies:** 0\
**Last updated:** [February 27, 2017, 10:56pm UTC](https://forums.solar2d.com/t/corona-cards-android-integration/343318 "2017-02-27T22:56:22Z")

</div>

Hello, I am integrating corona cards into an existing android application. I followed the steps present in the documentation - here. However, when I add import com.ansca.corona.CoronaView;&nbsp; to the MainActivity.ja…

---

## [How To Change Orientation in CoronaCards](https://forums.solar2d.com/t/how-to-change-orientation-in-coronacards/342293)

<div class="topic-metadata">

**Author:** [@thomas84](https://forums.solar2d.com/u/thomas84)\
**Replies:** 10\
**Last updated:** [February 27, 2017, 10:50pm UTC](https://forums.solar2d.com/t/how-to-change-orientation-in-coronacards/342293 "2017-02-27T22:50:38Z")

</div>

Hi, I and others have asked this before, but I’ll ask again in the hope someone responds with anything: What is the correct way to change orientation when using CoronaCards? Orientation changes work flawlessly in nor…

---

## [Content Scaling](https://forums.solar2d.com/t/content-scaling/343195)

<div class="topic-metadata">

**Author:** [@abhilash4](https://forums.solar2d.com/u/abhilash4)\
**Replies:** 2\
**Last updated:** [February 27, 2017, 10:34pm UTC](https://forums.solar2d.com/t/content-scaling/343195 "2017-02-27T22:34:42Z")

</div>

I have integrated Corona SDK project into existing xcode project using corona cards. On Corona SDK/Corona Simulator: I am loading an image on the view port and it display as intended. Here’s the screenshot: link Bel…

---

## [App Rejected - non-public APIs](https://forums.solar2d.com/t/app-rejected-non-public-apis/341307)

<div class="topic-metadata">

**Author:** [@kennycorona](https://forums.solar2d.com/u/kennycorona)\
**Replies:** 8\
**Last updated:** [February 17, 2017, 4:49am UTC](https://forums.solar2d.com/t/app-rejected-non-public-apis/341307 "2017-02-17T04:49:39Z")

</div>

We are using CoronaCards in our iOS app and an update was just rejected for using a private api: Your app uses or references the following non-public APIs: viewController After some digging, the only place …

---

## [Can't require file from sub-folder?](https://forums.solar2d.com/t/cant-require-file-from-sub-folder/343146)

<div class="topic-metadata">

**Author:** [@abhilash4](https://forums.solar2d.com/u/abhilash4)\
**Replies:** 26\
**Last updated:** [February 17, 2017, 3:07am UTC](https://forums.solar2d.com/t/cant-require-file-from-sub-folder/343146 "2017-02-17T03:07:07Z")

</div>

The require paths for sub-folders does work fine. However, while using corona cards, the require paths for sub folders do not work: local xml = require("libs.xml") composer.gotoScene("app.reader", {time=250, effect="cr…

---

## [UTF8 support in CoronaCards for WP8](https://forums.solar2d.com/t/utf8-support-in-coronacards-for-wp8/342045)

<div class="topic-metadata">

**Author:** [@alexxwiz](https://forums.solar2d.com/u/alexxwiz)\
**Replies:** 4\
**Last updated:** [November 18, 2016, 7:24pm UTC](https://forums.solar2d.com/t/utf8-support-in-coronacards-for-wp8/342045 "2016-11-18T19:24:18Z")

</div>

Can we some how get utf8 support in CoronaCards for WP8? I know than CoronaCards does not support plugins, but utf8 is a base thing. Maybe we can use it in some way? Please, give me any clues!

---

## [Dynamically Load Assets and Lua over HTTP In CoronaView](https://forums.solar2d.com/t/dynamically-load-assets-and-lua-over-http-in-coronaview/341966)

<div class="topic-metadata">

**Author:** [@andy491](https://forums.solar2d.com/u/andy491)\
**Replies:** 2\
**Last updated:** [November 11, 2016, 4:52pm UTC](https://forums.solar2d.com/t/dynamically-load-assets-and-lua-over-http-in-coronaview/341966 "2016-11-11T16:52:13Z")

</div>

Ist possible to load games through http dynamically with CoronaView.init("http://assets") or otherwise? I have a native android app thats lists multiple games that the user can click on (the list is created from the s…

---

## [Integration with React-Native](https://forums.solar2d.com/t/integration-with-react-native/341634)

<div class="topic-metadata">

**Author:** [@bigbeats18](https://forums.solar2d.com/u/bigbeats18)\
**Replies:** 2\
**Last updated:** [October 19, 2016, 5:13pm UTC](https://forums.solar2d.com/t/integration-with-react-native/341634 "2016-10-19T17:13:12Z")

</div>

I’m a newb to Corona. Is there a way to use Corona or CoronaCards within an React-Native app ( ? I’ve googled around and haven’t found any tutorials on it. The closest thing I found was the Phonegap plugin. Any links …

---

## [Playing Video in Corona Cards](https://forums.solar2d.com/t/playing-video-in-corona-cards/340977)

<div class="topic-metadata">

**Author:** [@thomas84](https://forums.solar2d.com/u/thomas84)\
**Replies:** 10\
**Last updated:** [September 23, 2016, 3:28pm UTC](https://forums.solar2d.com/t/playing-video-in-corona-cards/340977 "2016-09-23T15:28:08Z")

</div>

Hi, We’re trying to get a short video to play in our game, playing through Corona Cards. The video plays on iOS and Android as a standalone app, but fails to play while running in Corona Cards (“Can’t play this video.”…

---

## [Is 'prefs' changed to what?](https://forums.solar2d.com/t/is-prefs-changed-to-what/341147)

<div class="topic-metadata">

**Author:** [@Kangmin\_Won](https://forums.solar2d.com/u/Kangmin_Won)\
**Replies:** 4\
**Last updated:** [September 19, 2016, 1:59am UTC](https://forums.solar2d.com/t/is-prefs-changed-to-what/341147 "2016-09-19T01:59:22Z")

</div>

I used ‘prefs:root=WIFI’. But it doesn’t work in iOS 10. How can I use it? Thank you. (-:

---

## [OMG..What are these errors?](https://forums.solar2d.com/t/omg-what-are-these-errors/341112)

<div class="topic-metadata">

**Author:** [@Kangmin\_Won](https://forums.solar2d.com/u/Kangmin_Won)\
**Replies:** 8\
**Last updated:** [September 16, 2016, 12:28am UTC](https://forums.solar2d.com/t/omg-what-are-these-errors/341112 "2016-09-16T00:28:00Z")

</div>

Xcode 8, CoronaCards iOS, ARC true… Undefined symbols for architecture arm64: “std::ios\_base::Init::~Init()”, referenced from: \_\_GLOBAL\_\_sub\_I\_Rtt\_LuaData.cpp in CoronaCards(Rtt\_LuaData.o) “std::string::fin…

---

## [Does CoronaCards supports plugins?](https://forums.solar2d.com/t/does-coronacards-supports-plugins/341006)

<div class="topic-metadata">

**Author:** [@thefest29](https://forums.solar2d.com/u/thefest29)\
**Replies:** 4\
**Last updated:** [September 7, 2016, 6:34pm UTC](https://forums.solar2d.com/t/does-coronacards-supports-plugins/341006 "2016-09-07T18:34:54Z")

</div>

Hello. In my game i’m using openssl plugin. When i build for wp8 - i’m getting error ‘module ‘plugin.openssl’ not found’ . Is it possible to activate this plugin? Thanks

---

## [CoronaCards and source code](https://forums.solar2d.com/t/coronacards-and-source-code/341012)

<div class="topic-metadata">

**Author:** [@thefest29](https://forums.solar2d.com/u/thefest29)\
**Replies:** 0\
**Last updated:** [September 7, 2016, 11:51am UTC](https://forums.solar2d.com/t/coronacards-and-source-code/341012 "2016-09-07T11:51:27Z")

</div>

Hi. I just made a wp8 build and get .xap file. I unzip it and saw that all .lua files stores here with all source code. Is it possible to compile that files in file Resource.car(just like Corona SDK online builds) inste…

[Previous page](https://forums.solar2d.com/c/coronacards-corona-in-native-apps/14.md)

[Next page](https://forums.solar2d.com/c/coronacards-corona-in-native-apps/14.md?page=2)
