expo-dev-menu-interface 0.4.2 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@ Interface for `expo-dev-menu`.
4
4
 
5
5
  # Installation in managed Expo projects
6
6
 
7
- For managed [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](#api-documentation). If you follow the link and there is no documentation available then this library is not yet usable within managed projects — it is likely to be included in an upcoming Expo SDK release.
7
+ For [managed](https://docs.expo.io/versions/latest/introduction/managed-vs-bare/) Expo projects, please follow the installation instructions in the [API documentation for the latest stable release](#api-documentation). If you follow the link and there is no documentation available then this library is not yet usable within managed projects — it is likely to be included in an upcoming Expo SDK release.
8
8
 
9
9
  # Installation in bare React Native projects
10
10
 
@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
3
3
  apply plugin: 'maven'
4
4
 
5
5
  group = 'host.exp.exponent'
6
- version = '0.4.2'
6
+ version = '0.5.0'
7
7
 
8
8
  buildscript {
9
9
  // Simple helper that allows the root project to override versions declared by this library.
@@ -57,7 +57,7 @@ android {
57
57
  minSdkVersion safeExtGet("minSdkVersion", 21)
58
58
  targetSdkVersion safeExtGet("targetSdkVersion", 30)
59
59
  versionCode 6
60
- versionName '0.4.2'
60
+ versionName '0.5.0'
61
61
  }
62
62
  lintOptions {
63
63
  abortOnError false
@@ -14,7 +14,7 @@ interface DevMenuExpoApiClientInterface {
14
14
  fun isLoggedIn(): Boolean
15
15
  fun setSessionSecret(newSessionSecret: String?)
16
16
  suspend fun queryMyProjects(options: DevMenuGraphQLOptions = DevMenuGraphQLOptions()): okhttp3.Response
17
- suspend fun queryDevSessions(): okhttp3.Response
17
+ suspend fun queryDevSessions(deviceID: String?): okhttp3.Response
18
18
  suspend fun queryUpdateChannels(
19
19
  appId: String,
20
20
  options: DevMenuGraphQLOptions = DevMenuGraphQLOptions()
@@ -0,0 +1,4 @@
1
+ {
2
+ "name": "expo-dev-menu-interface",
3
+ "platforms": ["ios", "android"]
4
+ }
@@ -32,7 +32,7 @@ public protocol DevMenuExpoApiClientProtocol {
32
32
  func setSessionSecret(_ sessionSecret: String?)
33
33
 
34
34
  @objc
35
- func queryDevSessionsAsync(_ completionHandler: @escaping HTTPCompletionHandler)
35
+ func queryDevSessionsAsync(_ installationID: String?, completionHandler: @escaping HTTPCompletionHandler)
36
36
 
37
37
  @objc
38
38
  func queryUpdateChannels(
@@ -1,6 +1,6 @@
1
1
  require 'json'
2
2
 
3
- package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
3
+ package = JSON.parse(File.read(File.join(__dir__, '../package.json')))
4
4
 
5
5
  Pod::Spec.new do |s|
6
6
  s.name = 'expo-dev-menu-interface'
@@ -14,9 +14,9 @@ Pod::Spec.new do |s|
14
14
  s.swift_version = '5.2'
15
15
  s.source = { git: 'https://github.com/expo/expo.git' }
16
16
  s.static_framework = true
17
- s.source_files = 'ios/**/*.{h,m,swift}'
18
- s.preserve_paths = 'ios/**/*.{h,m,swift}'
19
- s.exclude_files = ['ios/Tests/**/*.{h,m,swift}']
17
+ s.source_files = '**/*.{h,m,swift}'
18
+ s.preserve_paths = '**/*.{h,m,swift}'
19
+ s.exclude_files = 'Tests/**/*.{h,m,swift}'
20
20
  s.requires_arc = true
21
21
  s.header_dir = 'EXDevMenuInterface'
22
22
 
@@ -25,7 +25,7 @@ Pod::Spec.new do |s|
25
25
 
26
26
  s.test_spec 'Tests' do |test_spec|
27
27
  test_spec.platform = :ios, '12.0'
28
- test_spec.source_files = 'ios/Tests/**/*.{h,m,swift}'
28
+ test_spec.source_files = 'Tests/**/*.{h,m,swift}'
29
29
  test_spec.dependency 'Quick'
30
30
  test_spec.dependency 'Nimble'
31
31
  end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-dev-menu-interface",
3
- "version": "0.4.2",
3
+ "version": "0.5.0",
4
4
  "description": "Interface for expo-dev-menu",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -21,6 +21,9 @@
21
21
  },
22
22
  "author": "650 Industries, Inc.",
23
23
  "license": "MIT",
24
- "homepage": "https://docs.expo.io",
25
- "gitHead": "7bb3c874946fd9b20e25601b155309080b08b5cb"
24
+ "homepage": "https://docs.expo.dev",
25
+ "peerDependencies": {
26
+ "expo": "*"
27
+ },
28
+ "gitHead": "db3c974468338f22450238dc273b343a76e2c347"
26
29
  }
@@ -1,13 +0,0 @@
1
- module.exports = {
2
- dependency: {
3
- platforms: {
4
- ios: {
5
- /**
6
- * We need this property to trick `react-native-cli`. Normally, this tool looks for the XCode project.
7
- * We can generate it using `XcodeGen` but we don't want to add the project file to this library.
8
- */
9
- project: 'ios/EXDevMenuInterface.xcodeproj/project.pbxproj',
10
- },
11
- },
12
- },
13
- };