Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BW::UIAlertView.plain_text_input crashes on the device #471

Open
kapso opened this issue Aug 12, 2015 · 7 comments
Open

BW::UIAlertView.plain_text_input crashes on the device #471

kapso opened this issue Aug 12, 2015 · 7 comments

Comments

@kapso
Copy link

kapso commented Aug 12, 2015

Following code is crashing on the device. It works fine on Simulator, but on the device it crashes

options  = { buttons: ["OK"], message: "Confirm your zip code", title: "Zip Code" }
alert = BW::UIAlertView.plain_text_input(options) do |alert|
  @zip_code = alert.plain_text_field.text
end

alert.show

Device - iOS v8.4 (iPhone 6)

app.sdk_version = "8.4"
app.deployment_target = "7.0"
$ motion --version
3.14
gem "bubble-wrap", "1.9.2", require: false
@kapso
Copy link
Author

kapso commented Aug 13, 2015

Anyone know what is the issue here?

@markrickert
Copy link
Collaborator

You're setting require: false in your gemfile... are you doing require 'bubble-wrap' in your rakefile?

@kapso
Copy link
Author

kapso commented Aug 13, 2015

This is what I have in my Rakefile

require "bubble-wrap/core"
require "bubble-wrap/mail"
require "bubble-wrap/reactor"
require "bubble-wrap/sms"

via mobile device, please excuse typos and terseness.

On Aug 13, 2015, at 8:50 AM, Mark Rickert notifications@github.com wrote:

You're setting require: false in your gemfile... are you doing require 'bubble-wrap' in your rakefile?


Reply to this email directly or view it on GitHub.

@markrickert
Copy link
Collaborator

Try removing those lines from your rakefile and use this in your gemfile:

gem "bubble-wrap", "~> 1.9.2", require: %w[bubble-wrap/core bubble-wrap/mail bubble-wrap/reactor bubble-wrap/sms]

@kapso
Copy link
Author

kapso commented Aug 13, 2015

Yea tried your suggestions but same thing, it still crashes

@markrickert BTW thanks for looking into this.

@markrickert
Copy link
Collaborator

Can you create a simple app that reproduces the issue? I definitely want to get this fixed, but you might also like to look into the gem RedAlert for the same (but more robust) functionality

@kapso
Copy link
Author

kapso commented Aug 13, 2015

Looks nice, but our's is not a RMQ application, do you know if we can still use this gem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants