Sha256: 317436d78a528657acb0d627df01bc9a90726b479ed438aeac19b0632ac32629

Contents?: true

Size: 585 Bytes

Versions: 1

Compression:

Stored size: 585 Bytes

Contents

# encoding: utf-8
require 'motion-cocoapods'
unless defined?(Motion::Project::Config)
  raise "ProMotion-map must be required within a RubyMotion project."
end

Motion::Project::App.setup do |app|
  lib_dir_path = File.dirname(File.expand_path(__FILE__))
  app.files << File.join(lib_dir_path, "ProMotion/map/map_screen_annotation.rb")
  app.files << File.join(lib_dir_path, "ProMotion/map/map_screen_module.rb")
  app.files << File.join(lib_dir_path, "ProMotion/map/map_screen.rb")

  app.frameworks += %w(CoreLocation MapKit)

  app.pods do
    pod 'AMap2DMap', '~> 2.4.2'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ProMotion-amap-0.5.0 lib/ProMotion-map.rb