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

Problems to build it on iOS with simple_permissions library #2

Open
jr00n opened this issue Nov 25, 2019 · 2 comments
Open

Problems to build it on iOS with simple_permissions library #2

jr00n opened this issue Nov 25, 2019 · 2 comments
Labels
good first issue Good for newcomers

Comments

@jr00n
Copy link

jr00n commented Nov 25, 2019

First of all I had to add
target 'Runner' do
use_frameworks!
in Podfile
and a version in pubspec.

now I've got a white screen and this message

Running Xcode build...
Xcode build done. 10,2s
[VERBOSE-2:ui_dart_state.cc(148)] Unhandled Exception: MissingPluginException(No implementation found for method requestPermission on channel simple_permissions)
#0 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:314:7)

#1 SimplePermissions.requestPermission (package:simple_permissions/simple_permissions.dart:24:35)

#2 main (package:Tunein/main.dart:16:27)

#3 _runMainZoned.. (dart:ui/hooks.dart:229:25)
#4 _rootRun (dart:async/zone.dart:1124:13)
#5 _CustomZone.run (dart:async/zone.dart:1021:19)
#6 _runZoned (dart:async/zone.dart:1516:10)
#7 runZoned (dart:async/zone.dart:1500:12)
#8 _runMainZoned. (dart:ui/hooks.dart:221:5)
#9 _startIsolate. (dart:isolate-patch/isolate_patch.dart:305:19)
#10 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:17<…>
Syncing files to device iPhone X...

@Datlyfe
Copy link
Owner

Datlyfe commented Dec 24, 2019

Hey, thanks for opening an issue and sorry for the late response.
i haven't tested the app on an ios device or in Xcode for that matter, i was mainly focused on developing for android if you can inspect the problem and open a PR that would be very appreciated.

@Datlyfe Datlyfe added the good first issue Good for newcomers label Dec 24, 2019
@perseval
Copy link

perseval commented Apr 5, 2020

this link can resolve your problem : https://stackoverflow.com/a/60426942/8385251

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

No branches or pull requests

3 participants